Package phones ::
Module com_sanyo7400
|
|
1
2
3
4
5
6
7
8
9
10 """Talk to the Sanyo MM-7400 cell phone"""
11
12
13 import common
14 import p_sanyo7400
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-7400 cell phone"
27
28 desc="MM-7400"
29 protocolclass=p_sanyo7400
30 serialsname='mm7400'
31
32 FIRST_MEDIA_DIRECTORY=1
33 LAST_MEDIA_DIRECTORY=3
34
35 imagelocations=(
36
37 )
38
39 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '',
40 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
41 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '',
42 '', '', '', '', '', '', '',
43 'Tschaik.Swanlake', 'Satie Gymnop.#1',
44 'Hungarian Dance', 'Beethoven Sym.5', 'Greensleeves',
45 'Foster Ky. Home', 'The Moment', 'Asian Jingle',
46 'Disco')
47
48 calendar_defaultringtone=0
49 calendar_defaultcaringtone=0
50
51 - def __init__(self, logtarget, commport):
55
56 -class Profile(com_sanyonewer.Profile):
57
58 protocolclass=Phone.protocolclass
59 serialsname=Phone.serialsname
60 phone_manufacturer='SANYO'
61 phone_model='SCP-7400/US'
62
63 WALLPAPER_WIDTH=176
64 WALLPAPER_HEIGHT=220
65
66 _supportedsyncs=(
67 ('phonebook', 'read', None),
68 ('calendar', 'read', None),
69 ('phonebook', 'write', 'OVERWRITE'),
70 ('calendar', 'write', 'OVERWRITE'),
71 ('wallpaper', 'write', 'MERGE'),
72 ('ringtone', 'write', 'MERGE'),
73 ('wallpaper', 'read', None),
74 ('ringtone', 'read', None),
75 )
76
80