Package phones :: Module com_sanyo8200
[hide private]
[frames] | no frames]

Source Code for Module phones.com_sanyo8200

 1  ### BITPIM 
 2  ### 
 3  ### Copyright (C) 2004-2006 Stephen Wood <sawecw@users.sf.net> 
 4  ### 
 5  ### This program is free software; you can redistribute it and/or modify 
 6  ### it under the terms of the BitPim license as detailed in the LICENSE file. 
 7  ### 
 8  ### $Id: com_sanyo8200.py 3565 2006-09-03 03:17:42Z sawecw $ 
 9   
10  """Talk to the Sanyo SCP-8200 cell phone""" 
11   
12  # my modules 
13  import common 
14  import p_sanyo8200 
15  import com_brew 
16  import com_phone 
17  import com_sanyo 
18  import com_sanyomedia 
19  import com_sanyonewer 
20  import prototypes 
21   
22  numbertypetab=( 'cell', 'home', 'office', 'pager', 
23                      'fax', 'data', 'none' ) 
24   
25 -class Phone(com_sanyonewer.Phone):
26 "Talk to the Sanyo PM8200 cell phone" 27 28 desc="PM8200" 29 30 FIRST_MEDIA_DIRECTORY=1 31 LAST_MEDIA_DIRECTORY=3 32 33 imagelocations=( 34 # offset, directory #, indexflag, type, maximumentries 35 ) 36 37 protocolclass=p_sanyo8200 38 serialsname='pm8200' 39 40 builtinringtones=( 'None', 'Vibrate', '', '', '', '', '', '', '', 41 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5', 42 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '', 43 '', '', '', '', '', '', '', 44 'Tschaik.Swanlake', 'Satie Gymnop.#1', 45 'Hungarian Dance', 'Beethoven Sym.5', 'Greensleeves', 46 'Foster Ky. Home', 'The Moment', 'Asian Jingle', 47 'Disco','','','','','','','','','','','','','','','','','', 48 'Voice Alarm') 49
50 - def __init__(self, logtarget, commport):
51 com_sanyonewer.Phone.__init__(self, logtarget, commport) 52 self.mode=self.MODENONE 53 self.numbertypetab=numbertypetab
54
55 -class Profile(com_sanyonewer.Profile):
56 57 protocolclass=Phone.protocolclass 58 serialsname=Phone.serialsname 59 phone_manufacturer='SANYO' 60 phone_model='SCP-8200/US' 61 # GMR: 1.115SP ,10019 62 63 WALLPAPER_WIDTH=132 64 WALLPAPER_HEIGHT=160 65
66 - def __init__(self):
69 70 # NOTE: Calendar alarm 35 is Foster Ky. Home. 71