Package phones ::
Module com_sanyo8100_bell
|
|
1
2
3
4
5
6
7
8
9
10 """Talk to the Sanyo SCP-8100 Bell Mobility (Canada) cell phone"""
11
12
13 import common
14 import p_sanyo8100_bell
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 import os
23
24 -class Phone(com_sanyonewer.Phone):
25 "Talk to the Sanyo SCP-8100 Bell Mobility (Canada) cell phone"
26
27 desc="SCP-8100-Bell"
28
29 FIRST_MEDIA_DIRECTORY=1
30 LAST_MEDIA_DIRECTORY=3
31
32 protocolclass=p_sanyo8100_bell
33 serialsname='scp8100bell'
34
35
36
37 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '',
38 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
39 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '',
40 '', '', '', '', '', '', '',
41 'Tschaik.Swanlake', 'Satie Gymnop.#1',
42 'Bach Air on the G', 'Beethoven Sym.5', 'Greensleeves',
43 'Johnny Comes..', 'Foster Ky. Home', 'Asian Jingle',
44 'Disco' )
45
46 calendar_defaultringtone=4
47 calendar_defaultcaringtone=4
48 calendar_tonerange=xrange(18,26)
49 calendar_toneoffset=8
50
51 - def __init__(self, logtarget, commport):
54
55 -class Profile(com_sanyonewer.Profile):
56
57 protocolclass=Phone.protocolclass
58 serialsname=Phone.serialsname
59 phone_manufacturer='SANYO'
60 phone_model='SCP-8100CA'
61
62 WALLPAPER_WIDTH=132
63 WALLPAPER_HEIGHT=144
64 OVERSIZE_PERCENTAGE=100
65
66 _supportedsyncs=(
67 ('phonebook', 'read', None),
68 ('calendar', 'read', None),
69 ('phonebook', 'write', 'OVERWRITE'),
70 ('calendar', 'write', 'OVERWRITE'),
71 ('wallpaper', 'read', None),
72 ('ringtone', 'read', None),
73
74
75 )
76
79