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_sanyo5500.py 2313 2005-04-21 03:28:25Z sawecw $ 0009 0010 """Talk to the Sanyo SCP-5500 cell phone""" 0011 0012 # standard modules 0013 import time 0014 import cStringIO 0015 0016 # my modules 0017 import common 0018 import p_sanyo5500 0019 import com_brew 0020 import com_phone 0021 import com_sanyo 0022 import com_sanyomedia 0023 import com_sanyonewer 0024 import prototypes 0025 0026 class Phone(com_sanyonewer.Phone): 0027 "Talk to the Sanyo SCP-5500 cell phone" 0028 0029 desc="SCP-5500" 0030 0031 FIRST_MEDIA_DIRECTORY=1 0032 LAST_MEDIA_DIRECTORY=3 0033 0034 protocolclass=p_sanyo5500 0035 serialsname='scp5500' 0036 0037 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '', 0038 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5', 0039 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '', 0040 '', '', '', '', '', '', '', 0041 'Tschaik.Swanlake', 'Satie Gymnop.#1', 0042 'Bach Air on the G', 'Beethoven Sym.5', 'Greensleeves', 0043 'Johnny Comes..', 'Foster Ky. Home', 'Asian Jingle', 0044 'Disco', 'Toy Box', 'Rodeo' ) 0045 0046 calendar_defaultringtone=4 0047 0048 def __init__(self, logtarget, commport): 0049 com_sanyonewer.Phone.__init__(self, logtarget, commport) 0050 self.mode=self.MODENONE 0051 0052 class Profile(com_sanyonewer.Profile): 0053 0054 protocolclass=p_sanyo5500 0055 serialsname='scp5500' 0056 phone_manufacturer='SANYO' 0057 phone_model='SCP-5500/US' 0058 # GMR: 1.010SP ,10024 0059 0060 def __init__(self): 0061 com_sanyonewer.Profile.__init__(self) 0062
Generated by PyXR 0.9.4