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_sanyo8100_bell.py 3753 2006-12-07 04:03:00Z sawecw $ 0009 0010 """Talk to the Sanyo SCP-8100 Bell Mobility (Canada) cell phone""" 0011 0012 # my modules 0013 import common 0014 import p_sanyo8100_bell 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 import os 0023 0024 class Phone(com_sanyonewer.Phone): 0025 "Talk to the Sanyo SCP-8100 Bell Mobility (Canada) cell phone" 0026 0027 desc="SCP-8100-Bell" 0028 0029 FIRST_MEDIA_DIRECTORY=1 0030 LAST_MEDIA_DIRECTORY=3 0031 0032 protocolclass=p_sanyo8100_bell 0033 serialsname='scp8100bell' 0034 0035 # Need to check these from Bell. 0036 0037 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '', 0038 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5', 0039 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '', 0040 '', '', '', '', '', '', '', 0041 'Tschaik.Swanlake', 'Satie Gymnop.#1', 0042 'Bach Air on the G', 'Beethoven Sym.5', 'Greensleeves', 0043 'Johnny Comes..', 'Foster Ky. Home', 'Asian Jingle', 0044 'Disco' ) 0045 0046 calendar_defaultringtone=4 0047 calendar_defaultcaringtone=4 0048 calendar_tonerange=xrange(18,26) 0049 calendar_toneoffset=8 0050 0051 def __init__(self, logtarget, commport): 0052 com_sanyonewer.Phone.__init__(self, logtarget, commport) 0053 self.mode=self.MODENONE 0054 0055 class Profile(com_sanyonewer.Profile): 0056 0057 protocolclass=Phone.protocolclass 0058 serialsname=Phone.serialsname 0059 phone_manufacturer='SANYO' 0060 phone_model='SCP-8100CA' 0061 0062 WALLPAPER_WIDTH=132 0063 WALLPAPER_HEIGHT=144 0064 OVERSIZE_PERCENTAGE=100 0065 0066 _supportedsyncs=( 0067 ('phonebook', 'read', None), # all phonebook reading 0068 ('calendar', 'read', None), # all calendar reading 0069 ('phonebook', 'write', 'OVERWRITE'), # only overwriting phonebook 0070 ('calendar', 'write', 'OVERWRITE'), # only overwriting calendar 0071 ('wallpaper', 'read', None), # all wallpaper reading 0072 ('ringtone', 'read', None), # all ringtone reading 0073 # ('wallpaper', 'write', 'MERGE'), 0074 # ('ringtone', 'write', 'MERGE'), 0075 ) 0076 0077 def __init__(self): 0078 com_sanyonewer.Profile.__init__(self) 0079
Generated by PyXR 0.9.4