Package phones ::
Module com_sanyo5300
|
|
1
2
3
4
5
6
7
8
9
10 """Talk to the Sanyo SCP-5300 cell phone"""
11
12
13 import common
14 import p_sanyo5300
15 import com_brew
16 import com_phone
17 import com_sanyo
18 import prototypes
19
20
21 -class Phone(com_sanyo.Phone):
22 "Talk to the Sanyo SCP-5300 cell phone"
23
24 desc="SCP-5300"
25
26 protocolclass=p_sanyo5300
27 serialsname='scp5300'
28
29 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '',
30 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
31 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '',
32 '', '', '', '', '', '', '',
33 'HallelujahSamba', 'Amazing Grace',
34 'The Entertainer', 'Mozart Eine..', 'Canon',
35 'Chopin Waltz', 'Brahms Hungar..', 'Asian Jingle',
36 'Rodeo', 'Call Delivery', 'Toy Box' )
37
38 calendar_defaultringtone=0
39 calendar_tonerange=xrange(100,100)
40 calendar_toneoffset=0
41
42 - def __init__(self, logtarget, commport):
45
59