Package phones :: Module com_sanyo5400
[hide private]
[frames] | no frames]

Source Code for Module phones.com_sanyo5400

 1  ### BITPIM 
 2  ### 
 3  ### Copyright (C) 2003-2004 Stephen Wood <sawecw@users.sf.net> 
 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_sanyo5400.py 2321 2005-04-23 01:12:49Z sawecw $ 
 9   
10  """Talk to the Sanyo SCP-5400 (RL2500) cell phone""" 
11   
12  # my modules 
13  import common 
14  import p_sanyo5400 
15  import com_brew 
16  import com_phone 
17  import com_sanyo 
18  import com_sanyonewer 
19  import prototypes 
20   
21   
22 -class Phone(com_sanyonewer.Phone):
23 "Talk to the Sanyo SCP-5400 cell phone" 24 25 desc="SCP-5400" 26 27 FIRST_MEDIA_DIRECTORY=2 28 LAST_MEDIA_DIRECTORY=3 29 30 imagelocations=( 31 # offset, directory #, indexflag, type, maximumentries 32 ) 33 34 protocolclass=p_sanyo5400 35 serialsname='scp5400' 36 37 # Should it be 4 or 0? 38 calendar_defaultringtone=0 39
40 - def __init__(self, logtarget, commport):
41 com_sanyonewer.Phone.__init__(self, logtarget, commport) 42 self.mode=self.MODENONE
43
44 -class Profile(com_sanyonewer.Profile):
45 46 protocolclass=Phone.protocolclass 47 serialsname=Phone.serialsname 48 phone_manufacturer='SANYO' 49 phone_model='SCP-5400/US' 50
51 - def __init__(self):
53