0001 ### BITPIM 0002 ### 0003 ### Copyright (C) 2005 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_sanyo2300.py 3635 2006-10-29 22:24:19Z sawecw $ 0009 0010 """Talk to the Sanyo VI-2300 cell phone""" 0011 0012 # my modules 0013 import common 0014 import p_sanyo2300 0015 import com_brew 0016 import com_phone 0017 import com_sanyo 0018 import com_sanyomedia 0019 import com_sanyonewer 0020 import prototypes 0021 0022 # Order is like the PM-8200 0023 numbertypetab=( 'cell', 'home', 'office', 'pager', 0024 'fax', 'data', 'none' ) 0025 0026 class Phone(com_sanyonewer.Phone): 0027 "Talk to the Sanyo VI-2300 cell phone" 0028 0029 desc="SCP-2300" 0030 0031 FIRST_MEDIA_DIRECTORY=2 0032 LAST_MEDIA_DIRECTORY=3 0033 0034 imagelocations=( 0035 # offset, directory #, indexflag, type, maximumentries 0036 ) 0037 0038 protocolclass=p_sanyo2300 0039 serialsname='vi2300' 0040 0041 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '', 0042 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5', 0043 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '', 0044 '', '', '', '', '', '', '', 0045 'Gymnopedie', 'Hungarian Dance No. 5', 0046 'Dies Irae from Requiem', 'The Moment', 'Asian Jingle', 0047 'Habanera', 'Ska Big Band', 'Asian Melody', 0048 'Clair de Lune', 'Kung-fu') 0049 0050 calendar_defaultringtone=4 0051 0052 def __init__(self, logtarget, commport): 0053 com_sanyonewer.Phone.__init__(self, logtarget, commport) 0054 self.mode=self.MODENONE 0055 self.numbertypetab=numbertypetab 0056 0057 class Profile(com_sanyonewer.Profile): 0058 0059 protocolclass=Phone.protocolclass 0060 serialsname=Phone.serialsname 0061 phone_manufacturer='SANYO' 0062 phone_model='SCP-2300/US' 0063 0064 WALLPAPER_WIDTH=128 0065 WALLPAPER_HEIGHT=112 0066 OVERSIZE_PERCENTAGE=100 0067 0068 def __init__(self): 0069 com_sanyonewer.Profile.__init__(self) 0070 self.numbertypetab=numbertypetab 0071
Generated by PyXR 0.9.4