Package phones ::
Module com_samsungspha680
|
|
1
2
3
4
5
6
7
8
9
10 """Communicate with a Samsung SPH-A680"""
11
12 import sha
13 import re
14 import struct
15
16 import common
17 import commport
18 import p_brew
19 import p_samsungspha620
20 import p_samsungspha680
21 import com_brew
22 import com_phone
23 import com_samsung_packet
24 import com_samsungspha620
25 import prototypes
26
27 numbertypetab=('home','office','cell','pager','fax','none')
28
29 -class Phone(com_samsungspha620.Phone):
30 "Talk to a Samsung SPH-A680 phone"
31
32 desc="SPH-A680"
33
34 protocolclass=p_samsungspha680
35 serialsname='spha680'
36
37
38
39 imagelocations=(
40
41
42 (300, "cam/jpeg", "camera", 100, 124),
43 (400, "cam/dldJpeg", "camera", 100, 124),
44 (500, "cam/mjpeg", "camera", 100, 124),
45 (600, "cam/dldMjpeg", "camera", 100, 124),
46 )
47
48 ringtonelocations=(
49
50 )
51
52
53 - def __init__(self, logtarget, commport):
57
58 parentprofile=com_samsungspha620.Profile
70