PyXR

c:\projects\bitpim\src \ phones \ com_sanyo5300.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_sanyo5300.py 2321 2005-04-23 01:12:49Z sawecw $
0009 
0010 """Talk to the Sanyo SCP-5300 cell phone"""
0011 
0012 # my modules
0013 import common
0014 import p_sanyo5300
0015 import com_brew
0016 import com_phone
0017 import com_sanyo
0018 import prototypes
0019 
0020 
0021 class Phone(com_sanyo.Phone):
0022     "Talk to the Sanyo SCP-5300 cell phone"
0023 
0024     desc="SCP-5300"
0025 
0026     protocolclass=p_sanyo5300
0027     serialsname='scp5300'
0028     
0029     builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '', 
0030                        'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5',
0031                        'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '',
0032                        '', '', '', '', '', '', '',
0033                        'HallelujahSamba', 'Amazing Grace',
0034                        'The Entertainer', 'Mozart Eine..', 'Canon',
0035                        'Chopin Waltz', 'Brahms Hungar..', 'Asian Jingle',
0036                        'Rodeo', 'Call Delivery', '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 class Profile(com_sanyo.Profile):
0047 
0048     protocolclass=Phone.protocolclass
0049     serialsname=Phone.serialsname
0050     phone_manufacturer='SANYO'
0051     phone_model='SCP-5300/US'
0052 
0053     WALLPAPER_WIDTH=132
0054     WALLPAPER_HEIGHT=144
0055     OVERSIZE_PERCENTAGE=100
0056         
0057     def __init__(self):
0058         com_sanyo.Profile.__init__(self)
0059 

Generated by PyXR 0.9.4