Package phones ::
Module com_sanyo200
|
|
1
2
3
4
5
6
7
8
9
10 """Talk to the Sanyo VI-2300 cell phone"""
11
12
13 import common
14 import p_sanyo200
15 import com_brew
16 import com_phone
17 import com_sanyo
18 import com_sanyomedia
19 import com_sanyonewer
20 import prototypes
21
22
23 numbertypetab=( 'cell', 'home', 'office', 'pager',
24 'fax', 'data', 'none' )
25
26 -class Phone(com_sanyonewer.Phone):
27 "Talk to the Sanyo SCP-200 cell phone"
28
29 desc="SCP-200"
30
31 FIRST_MEDIA_DIRECTORY=1
32 LAST_MEDIA_DIRECTORY=1
33
34 imagelocations=(
35
36 )
37
38 protocolclass=p_sanyo200
39 serialsname='scp200'
40
41 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '',
42 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
43 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '',
44 '', '', '', '', '', '', '',
45 'Gymnopedie', 'Hungarian Dance No. 5',
46 'Dies Irae from Requiem', 'The Moment', 'Asian Jingle',
47 'Habanera', 'Ska Big Band', 'Asian Melody',
48 'Clair de Lune', 'Kung-fu')
49
50 calendar_defaultringtone=4
51
52 - def __init__(self, logtarget, commport):
56
57 -class Profile(com_sanyonewer.Profile):
58
59 protocolclass=Phone.protocolclass
60 serialsname=Phone.serialsname
61 phone_manufacturer='SANYO'
62 phone_model='SCP-200/US'
63
64 WALLPAPER_WIDTH=128
65 WALLPAPER_HEIGHT=112
66 OVERSIZE_PERCENTAGE=100
67
68 _supportedsyncs=(
69 ('phonebook', 'read', None),
70 ('calendar', 'read', None),
71 ('phonebook', 'write', 'OVERWRITE'),
72 ('calendar', 'write', 'OVERWRITE'),
73 ('call_history', 'read', None),
74 ('sms', 'read', None),
75 ('todo', 'read', None),
76 )
77
81