Package phones ::
Module com_sanyo8400
|
|
1
2
3
4
5
6
7
8
9
10 """Talk to the Sanyo Katana (SCP-8400) cell phone"""
11
12 import re
13 import time
14 import sha
15
16
17 import common
18 import p_brew
19 import p_sanyo8300
20 import p_sanyo4930
21 import p_sanyo6600
22 import p_sanyo7050
23 import p_sanyo8400
24 import com_brew
25 import com_phone
26 import com_sanyo
27 import com_sanyomedia
28 import com_sanyonewer
29 import com_sanyo3100
30 import com_sanyo6600
31 import com_sanyo7050
32 import prototypes
33 import bpcalendar
34
35 numbertypetab=( 'cell', 'home', 'office', 'pager',
36 'fax', 'none')
37
38 -class Phone(com_sanyo7050.Phone):
39 "Talk to the Sanyo Katana (SCP-8400) cell phone"
40
41 desc="SCP-8400"
42
43 FIRST_MEDIA_DIRECTORY=1
44 LAST_MEDIA_DIRECTORY=2
45
46 imagelocations=(
47
48 )
49 wallpaperexts=(".jpg", ".png", ".mp4", ".3g2",".JPG")
50
51
52 protocolclass=p_sanyo8400
53 serialsname='scp8400'
54
55 builtinringtones=( 'None', 'Vibrate', '', '', '', '', '', '', '',
56 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
57 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '',
58 '', '', '', '',
59 'Requiem:Dies Irae', 'Minute Waltz', 'Hungarian Dance',
60 'Military March', 'Ten Little Indians',
61 'Head,Shoulders,Knees&Toes', 'The Moment', 'Asian Jingle',
62 'Kung-fu','','','','','','','','','','','','','','','','','',
63 '','','','','','',
64 'Voice Alarm')
65
66
67 calendar_defaultringtone=0
68 calendar_defaultcaringtone=0
69 calendar_toneoffset=33
70 calendar_tonerange=xrange(4,100)
71
72 - def __init__(self, logtarget, commport):
76
77 my_model='SCP-8400/US'
78 detected_model='SCP-8400/US'
79 my_manufacturer='SANYO'
80
81 parentprofile=com_sanyo7050.Profile
96