Package phones ::
Module com_sanyo3200
|
|
1
2
3
4
5
6
7
8
9
10
11 """Talk to the Sanyo SCP-3200 cell phone"""
12
13 import re
14 import time
15 import sha
16
17
18 import common
19 import p_brew
20 import p_sanyo8300
21 import p_sanyo3200
22 import com_brew
23 import com_phone
24 import com_sanyo
25 import com_sanyomedia
26 import com_sanyonewer
27 import com_sanyo3100
28 import com_sanyo8300
29 import prototypes
30 import bpcalendar
31 import call_history
32
33 numbertypetab=( 'cell', 'home', 'office', 'pager',
34 'fax', 'data', 'none' )
35
36 -class Phone(com_sanyo3100.Phone):
37 "Talk to the Sanyo SCP-3200 cell phone"
38
39 desc="SCP-3200"
40
41 FIRST_MEDIA_DIRECTORY=1
42 LAST_MEDIA_DIRECTORY=2
43
44 imagelocations=(
45
46 )
47
48 protocolclass=p_sanyo3200
49 serialsname='scp3200'
50
51 builtinringtones=( 'None', 'Vibrate', '', '', '', '', '', '', '',
52 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
53 'Tone 6', 'Tone 7', 'Tone 8',
54 '', '', '', '', '',
55 '', '', '',
56 '', '', '', '',
57 'Hungarian Dance No.5', 'Asian Jingle',
58 'Ska Big Band', 'Habanera', 'Clair de Lune',
59 'Nocturne', 'Techno Beat', 'Jazz Melody','','','','','','','','','','','','','','','','','','','Ringer & Voice')
60
61 calendar_defaultringtone=4
62 calendar_defaultcaringtone=4
63
64 - def __init__(self, logtarget, commport):
68
69
70 my_model='SCP3200'
71 detected_model='SCP-3200/US'
72 my_manufacturer='SANYO'
73
74 parentprofile=com_sanyo3100.Profile
76
77 protocolclass=Phone.protocolclass
78 serialsname=Phone.serialsname
79 phone_manufacturer=Phone.my_manufacturer
80 phone_model=Phone.my_model
81
82 _supportedsyncs=(
83 ('phonebook', 'read', None),
84 ('calendar', 'read', None),
85
86
87 ('wallpaper', 'read', None),
88
89 ('call_history', 'read', None),
90
91 ('todo', 'read', None),
92 )
93
98