Package phones ::
Module com_sanyo5600
|
|
1
2
3
4
5
6
7
8
9
10 """Talk to the Sanyo MM-5600 cell phone"""
11
12
13 import common
14 import p_sanyo5600
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 numbertypetab=( 'cell', 'home', 'office', 'pager',
23 'fax', 'data', 'none' )
24
25 -class Phone(com_sanyonewer.Phone):
26 "Talk to the Sanyo MM-5600 cell phone"
27
28 desc="MM-5600"
29 protocolclass=p_sanyo5600
30 serialsname='mm5600'
31
32 FIRST_MEDIA_DIRECTORY=1
33 LAST_MEDIA_DIRECTORY=3
34
35 imagelocations=(
36
37 )
38
39 builtinringtones=( 'None', 'Vibrate', 'Voice Alarm', '', '', '', '', '', '',
40 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
41 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '',
42 '', '', '', '', '', '', '',
43 'Requiem:Dies Irae', 'Minute Waltz',
44 'Hungarian Dance', 'Miltary March', 'Ten Little Indians',
45 'Head,Shoulders,Knees&Toes', 'The Moment', 'Asian Jingle',
46 'Disco')
47
48 calendar_defaultringtone=0
49 calendar_defaultcaringtone=0
50 calendar_voicenumber=56
51 phonebook_voicenumber=3
52
53 - def __init__(self, logtarget, commport):
57
58 -class Profile(com_sanyonewer.Profile):
59
60 protocolclass=Phone.protocolclass
61 serialsname=Phone.serialsname
62 phone_manufacturer='SANYO'
63 phone_model='SCP-5600/US'
64
65 WALLPAPER_WIDTH=176
66 WALLPAPER_HEIGHT=220
67
68 _supportedsyncs=(
69 ('phonebook', 'read', None),
70 ('calendar', 'read', None),
71 ('phonebook', 'write', 'OVERWRITE'),
72 ('calendar', 'write', 'OVERWRITE'),
73 ('wallpaper', 'write', 'MERGE'),
74 ('ringtone', 'write', 'MERGE'),
75 ('wallpaper', 'read', None),
76 ('ringtone', 'read', None),
77 )
78
82