Package phones ::
Module com_samsungspha840
|
|
1
2
3
4
5
6
7
8
9
10 """Communicate with a Samsung SPH-A840"""
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_samsungspha840
21 import com_brew
22 import com_phone
23 import com_samsung_packet
24 import com_samsungspha620
25 import prototypes
26 import helpids
27
28 numbertypetab=('cell','home','office','pager','fax','none')
29
30 -class Phone(com_samsungspha620.Phone):
31 "Talk to a Samsung SPH-A840 phone"
32
33 desc="SPH-A840"
34 helpid=helpids.ID_PHONE_SAMSUNGOTHERS
35 protocolclass=p_samsungspha840
36 serialsname='spha840'
37
38
39
40 imagelocations=(
41
42
43 (400, "cam/dldJpeg", "camera", 100, 124),
44 (300, "cam/jpeg", "camera", 100, 124),
45 )
46
47 ringtonelocations=(
48
49 )
50
51
52 - def __init__(self, logtarget, commport):
56
57 parentprofile=com_samsungspha620.Profile
69