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_sanyo4930.py 4289 2007-06-20 03:15:49Z sawecw $ 0009 0010 """Talk to the Sanyo RL-4930 cell phone""" 0011 0012 # Phone has 500 name entries instead of 300. 0013 0014 # standard modules 0015 import sha 0016 0017 # my modules 0018 import common 0019 import p_sanyo4930 0020 import com_brew 0021 import com_phone 0022 import com_sanyo 0023 import com_sanyomedia 0024 import com_sanyonewer 0025 import prototypes 0026 0027 # Order is like the PM-8200 0028 numbertypetab=( 'cell', 'home', 'office', 'pager', 0029 'fax', 'data', 'none' ) 0030 0031 class Phone(com_sanyonewer.Phone): 0032 "Talk to the Sanyo RL-4930 cell phone" 0033 0034 desc="SCP-4930" 0035 0036 FIRST_MEDIA_DIRECTORY=2 0037 LAST_MEDIA_DIRECTORY=5 0038 0039 imagelocations=( 0040 # offset, directory #, indexflag, type, maximumentries 0041 ) 0042 0043 protocolclass=p_sanyo4930 0044 serialsname='rl4930' 0045 0046 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '', 0047 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5', 0048 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '', 0049 '', '', '', '', '', '', '', 0050 'Tschaik.Swanlake', 'Satie Gymnop.#1', 0051 'Bach Air on the G', 'Beethoven Sym.5', 'Greensleeves', 0052 'Johnny Comes..', 'Foster Ky. Home', 'Asian Jingle', 0053 'Disco', 'Toy Box', 'Rodeo' ) 0054 0055 calendar_defaultringtone=4 0056 0057 def __init__(self, logtarget, commport): 0058 com_sanyonewer.Phone.__init__(self, logtarget, commport) 0059 self.mode=self.MODENONE 0060 self.numbertypetab=numbertypetab 0061 0062 class Profile(com_sanyonewer.Profile): 0063 0064 protocolclass=Phone.protocolclass 0065 serialsname=Phone.serialsname 0066 phone_manufacturer='SANYO' 0067 phone_model='SCP-4930/US' 0068 0069 WALLPAPER_WIDTH=128 0070 WALLPAPER_HEIGHT=112 0071 OVERSIZE_PERCENTAGE=100 0072 0073 def __init__(self): 0074 com_sanyonewer.Profile.__init__(self) 0075 self.numbertypetab=numbertypetab 0076
Generated by PyXR 0.9.4