0001 ### BITPIM 0002 ### 0003 ### Copyright (C) 2004-2006 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_sanyo8200.py 3565 2006-09-03 03:17:42Z sawecw $ 0009 0010 """Talk to the Sanyo SCP-8200 cell phone""" 0011 0012 # my modules 0013 import common 0014 import p_sanyo8200 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 numbertypetab=( 'cell', 'home', 'office', 'pager', 0023 'fax', 'data', 'none' ) 0024 0025 class Phone(com_sanyonewer.Phone): 0026 "Talk to the Sanyo PM8200 cell phone" 0027 0028 desc="PM8200" 0029 0030 FIRST_MEDIA_DIRECTORY=1 0031 LAST_MEDIA_DIRECTORY=3 0032 0033 imagelocations=( 0034 # offset, directory #, indexflag, type, maximumentries 0035 ) 0036 0037 protocolclass=p_sanyo8200 0038 serialsname='pm8200' 0039 0040 builtinringtones=( 'None', 'Vibrate', '', '', '', '', '', '', '', 0041 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5', 0042 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '', 0043 '', '', '', '', '', '', '', 0044 'Tschaik.Swanlake', 'Satie Gymnop.#1', 0045 'Hungarian Dance', 'Beethoven Sym.5', 'Greensleeves', 0046 'Foster Ky. Home', 'The Moment', 'Asian Jingle', 0047 'Disco','','','','','','','','','','','','','','','','','', 0048 'Voice Alarm') 0049 0050 def __init__(self, logtarget, commport): 0051 com_sanyonewer.Phone.__init__(self, logtarget, commport) 0052 self.mode=self.MODENONE 0053 self.numbertypetab=numbertypetab 0054 0055 class Profile(com_sanyonewer.Profile): 0056 0057 protocolclass=Phone.protocolclass 0058 serialsname=Phone.serialsname 0059 phone_manufacturer='SANYO' 0060 phone_model='SCP-8200/US' 0061 # GMR: 1.115SP ,10019 0062 0063 WALLPAPER_WIDTH=132 0064 WALLPAPER_HEIGHT=160 0065 0066 def __init__(self): 0067 com_sanyonewer.Profile.__init__(self) 0068 self.numbertypetab=numbertypetab 0069 0070 # NOTE: Calendar alarm 35 is Foster Ky. Home. 0071
Generated by PyXR 0.9.4