| Trees | Indices | Help |
|
|---|
|
|
1 ### BITPIM
2 ###
3 ### Copyright (C) 2006 Stephen Wood <saw@bitpim.org>
4 ###
5 ### This program is free software; you can redistribute it and/or modify
6 ### it under the terms of the BitPim license as detailed in the LICENSE file.
7 ###
8 ### $Id: com_samsungspha840.py 3918 2007-01-19 05:15:12Z djpham $
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
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 # jpeg Remove first 124 characters
39
40 imagelocations=(
41 # offset, index file, files location, origin, maximumentries, header offset
42 # Offset is arbitrary. 100 is reserved for amsRegistry indexed files
43 (400, "cam/dldJpeg", "camera", 100, 124),
44 (300, "cam/jpeg", "camera", 100, 124),
45 )
46
47 ringtonelocations=(
48 # offset, index file, files location, type, maximumentries, header offset
49 )
50
51
53 com_samsungspha620.Phone.__init__(self, logtarget, commport)
54 self.numbertypetab=numbertypetab
55 self.mode=self.MODENONE
56
57 parentprofile=com_samsungspha620.Profile
59 deviceclasses=("modem",)
60
61 protocolclass=Phone.protocolclass
62 serialsname=Phone.serialsname
63 phone_manufacturer='SAMSUNG'
64 phone_model='SPH-A840/152'
65
69
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Jan 24 16:21:27 2010 | http://epydoc.sourceforge.net |