Package phones ::
Module com_lgvx8600
|
|
1
2
3
4
5
6
7
8
9
10
11
12 """
13 Communicate with the LG VX8600 cell phone, which I was told is VERY similar to
14 the VX-8500
15 """
16
17
18 import common
19 import com_lgvx8500
20 import p_lgvx8600
21 import helpids
22
23
24 parentphone=com_lgvx8500.Phone
40
41
42
43
44
45
46
47
48
49 parentprofile=com_lgvx8500.Profile
51 protocolclass=Phone.protocolclass
52 serialsname=Phone.serialsname
53
54 BP_Calendar_Version=3
55 phone_manufacturer='LG Electronics Inc'
56 phone_model='VX8600'
57
58 WALLPAPER_WIDTH=176
59 WALLPAPER_HEIGHT=220
60
61 imageorigins={}
62 imageorigins.update(common.getkv(parentprofile.stockimageorigins, "images"))
63 imageorigins.update(common.getkv(parentprofile.stockimageorigins, "video"))
64 imageorigins.update(common.getkv(parentprofile.stockimageorigins, "images(sd)"))
65 imageorigins.update(common.getkv(parentprofile.stockimageorigins, "video(sd)"))
66
67
68 imagetargets={}
69 imagetargets.update(common.getkv(parentprofile.stockimagetargets, "fullscreen",
70 {'width': 176, 'height': 220, 'format': "JPEG"}))
71 imagetargets.update(common.getkv(parentprofile.stockimagetargets, "wallpaper",
72 {'width': 176, 'height': 184, 'format': "JPEG"}))
73 imagetargets.update(common.getkv(parentprofile.stockimagetargets, "outsidelcd",
74 {'width': 128, 'height': 160, 'format': "JPEG"}))
75 imagetargets.update(common.getkv(parentprofile.stockimagetargets, "pictureid",
76 {'width': 128, 'height': 142, 'format': "JPEG"}))
77
78 _supportedsyncs=(
79 ('phonebook', 'read', None),
80 ('calendar', 'read', None),
81 ('wallpaper', 'read', None),
82 ('ringtone', 'read', None),
83 ('call_history', 'read', None),
84 ('sms', 'read', None),
85 ('memo', 'read', None),
86 ('phonebook', 'write', 'OVERWRITE'),
87 ('calendar', 'write', 'OVERWRITE'),
88 ('wallpaper', 'write', 'MERGE'),
89 ('wallpaper', 'write', 'OVERWRITE'),
90 ('ringtone', 'write', 'MERGE'),
91 ('ringtone', 'write', 'OVERWRITE'),
92 ('sms', 'write', 'OVERWRITE'),
93 ('memo', 'write', 'OVERWRITE'),
94
95
96 ('t9_udb', 'write', 'OVERWRITE'),
97 )
98 if __debug__:
99 _supportedsyncs+=(
100 ('t9_udb', 'read', 'OVERWRITE'),
101 )
102