0001 ### BITPIM 0002 ### 0003 ### Copyright (C) 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_sanyo4920.py 4302 2007-07-11 04:03:57Z sawecw $ 0009 0010 """Talk to the Sanyo RL-4920 cell phone""" 0011 0012 # Phone has 50 minute digital voice memo recorder. 0013 # Sanyo description says recordings can be downloaded to PC using 0014 # data cable. 0015 0016 # my modules 0017 import common 0018 import p_sanyo4920 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 # Order is like the PM-8200 0027 numbertypetab=( 'cell', 'home', 'office', 'pager', 0028 'fax', 'data', 'none' ) 0029 0030 class Phone(com_sanyonewer.Phone): 0031 "Talk to the Sanyo RL-4920 cell phone" 0032 0033 desc="SCP-4920" 0034 0035 FIRST_MEDIA_DIRECTORY=2 0036 LAST_MEDIA_DIRECTORY=3 0037 0038 imagelocations=( 0039 # offset, directory #, indexflag, type, maximumentries 0040 ) 0041 0042 protocolclass=p_sanyo4920 0043 serialsname='rl4920' 0044 0045 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '', 0046 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5', 0047 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '', 0048 '', '', '', '', '', '', '', 0049 'Tschaik.Swanlake', 'Satie Gymnop.#1', 0050 'Bach Air on the G', 'Beethoven Sym.5', 'Greensleeves', 0051 'Johnny Comes..', 'Foster Ky. Home', 'Asian Jingle', 0052 'Disco', 'Toy Box', 'Rodeo' ) 0053 0054 calendar_defaultringtone=4 0055 0056 def __init__(self, logtarget, commport): 0057 com_sanyonewer.Phone.__init__(self, logtarget, commport) 0058 self.mode=self.MODENONE 0059 self.numbertypetab=numbertypetab 0060 0061 class Profile(com_sanyonewer.Profile): 0062 0063 protocolclass=Phone.protocolclass 0064 serialsname=Phone.serialsname 0065 phone_manufacturer='SANYO' 0066 phone_model='SCP-4920/US' 0067 0068 WALLPAPER_WIDTH=128 0069 WALLPAPER_HEIGHT=112 0070 OVERSIZE_PERCENTAGE=100 0071 0072 def __init__(self): 0073 com_sanyonewer.Profile.__init__(self) 0074 self.numbertypetab=numbertypetab 0075
Generated by PyXR 0.9.4