Package phones ::
Module com_sanyo4900
|
|
1
2
3
4
5
6
7
8
9
10 """Talk to the Sanyo SCP-4900 cell phone"""
11
12
13 import time
14 import common
15 import p_sanyo4900
16 import com_brew
17 import com_phone
18 import com_sanyo
19 import prototypes
20
21
22 -class Phone(com_sanyo.Phone):
23 "Talk to the Sanyo SCP-4900 cell phone"
24
25 desc="SCP-4900"
26
27 protocolclass=p_sanyo4900
28 serialsname='scp4900'
29
30 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '',
31 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
32 '', '', '', '', '', '', '', '', '', '', '', '', '', '',
33 '', 'La Bamba', 'Foster Dreamer', 'Schubert March',
34 'Mozart Eine Kleine', 'Debussey Arabesq', 'Nedelka',
35 'Brahms Hungarian', 'Star Spangled Banner', 'Rodeo',
36 'Birds', '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
46
47
62