PyXR

c:\projects\bitpim\src \ phones \ com_sanyo4900.py



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_sanyo4900.py 2319 2005-04-22 03:50:56Z sawecw $
0009 
0010 """Talk to the Sanyo SCP-4900 cell phone"""
0011 
0012 # my modules
0013 import time
0014 import common
0015 import p_sanyo4900
0016 import com_brew
0017 import com_phone
0018 import com_sanyo
0019 import prototypes
0020 
0021 
0022 class Phone(com_sanyo.Phone):
0023     "Talk to the Sanyo SCP-4900 cell phone"
0024 
0025     desc="SCP-4900"
0026 
0027     protocolclass=p_sanyo4900
0028     serialsname='scp4900'
0029 
0030     builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '', 
0031                        'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
0032                        '', '', '', '', '', '', '', '', '', '', '', '', '', '',
0033                        '', 'La Bamba', 'Foster Dreamer', 'Schubert March',
0034                        'Mozart Eine Kleine', 'Debussey Arabesq', 'Nedelka',
0035                        'Brahms Hungarian', 'Star Spangled Banner', 'Rodeo',
0036                        'Birds', 'Toy Box' )
0037                       
0038     calendar_defaultringtone=0
0039     calendar_tonerange=xrange(100,100)
0040     calendar_toneoffset=0
0041 
0042     def __init__(self, logtarget, commport):
0043         com_sanyo.Phone.__init__(self, logtarget, commport)
0044         self.mode=self.MODENONE
0045 
0046 
0047 
0048 class Profile(com_sanyo.Profile):
0049 
0050     protocolclass=Phone.protocolclass
0051     serialsname=Phone.serialsname
0052     phone_manufacturer='SANYO'
0053     phone_model='SCP-4900/US'
0054     # GMR: 1.057SP   ,10018
0055 
0056     WALLPAPER_WIDTH=120
0057     WALLPAPER_HEIGHT=128
0058     OVERSIZE_PERCENTAGE=100
0059     
0060     def __init__(self):
0061         com_sanyo.Profile.__init__(self)
0062 

Generated by PyXR 0.9.4