PyXR

c:\projects\bitpim\src \ phones \ com_sanyo5400.py



0001 ### BITPIM
0002 ###
0003 ### Copyright (C) 2003-2004 Stephen Wood <sawecw@users.sf.net>
0004 ###
0005 ### This program is free software; you can redistribute it and/or modify
0006 ### it under the terms of the BitPim license as detailed in the LICENSE file.
0007 ###
0008 ### $Id: com_sanyo5400.py 2321 2005-04-23 01:12:49Z sawecw $
0009 
0010 """Talk to the Sanyo SCP-5400 (RL2500) cell phone"""
0011 
0012 # my modules
0013 import common
0014 import p_sanyo5400
0015 import com_brew
0016 import com_phone
0017 import com_sanyo
0018 import com_sanyonewer
0019 import prototypes
0020 
0021 
0022 class Phone(com_sanyonewer.Phone):
0023     "Talk to the Sanyo SCP-5400 cell phone"
0024 
0025     desc="SCP-5400"
0026 
0027     FIRST_MEDIA_DIRECTORY=2
0028     LAST_MEDIA_DIRECTORY=3
0029 
0030     imagelocations=(
0031         # offset, directory #, indexflag, type, maximumentries
0032         )    
0033 
0034     protocolclass=p_sanyo5400
0035     serialsname='scp5400'
0036 
0037 # Should it be 4 or 0?
0038     calendar_defaultringtone=0
0039 
0040     def __init__(self, logtarget, commport):
0041         com_sanyonewer.Phone.__init__(self, logtarget, commport)
0042         self.mode=self.MODENONE
0043 
0044 class Profile(com_sanyonewer.Profile):
0045 
0046     protocolclass=Phone.protocolclass
0047     serialsname=Phone.serialsname
0048     phone_manufacturer='SANYO'
0049     phone_model='SCP-5400/US'
0050 
0051     def __init__(self):
0052         com_sanyonewer.Profile.__init__(self)
0053 

Generated by PyXR 0.9.4