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

Source Code for Module phones.com_sanyo5500

 1  ### BITPIM 
 2  ### 
 3  ### Copyright (C) 2003-2004 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_sanyo5500.py 2313 2005-04-21 03:28:25Z sawecw $ 
 9   
10  """Talk to the Sanyo SCP-5500 cell phone""" 
11   
12  # standard modules 
13  import time 
14  import cStringIO 
15   
16  # my modules 
17  import common 
18  import p_sanyo5500 
19  import com_brew 
20  import com_phone 
21  import com_sanyo 
22  import com_sanyomedia 
23  import com_sanyonewer 
24  import prototypes 
25   
26 -class Phone(com_sanyonewer.Phone):
27 "Talk to the Sanyo SCP-5500 cell phone" 28 29 desc="SCP-5500" 30 31 FIRST_MEDIA_DIRECTORY=1 32 LAST_MEDIA_DIRECTORY=3 33 34 protocolclass=p_sanyo5500 35 serialsname='scp5500' 36 37 builtinringtones=( 'None', 'Vibrate', 'Ringer & Voice', '', '', '', '', '', '', 38 'Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'Tone 5', 39 'Tone 6', 'Tone 7', 'Tone 8', '', '', '', '', '', 40 '', '', '', '', '', '', '', 41 'Tschaik.Swanlake', 'Satie Gymnop.#1', 42 'Bach Air on the G', 'Beethoven Sym.5', 'Greensleeves', 43 'Johnny Comes..', 'Foster Ky. Home', 'Asian Jingle', 44 'Disco', 'Toy Box', 'Rodeo' ) 45 46 calendar_defaultringtone=4 47
48 - def __init__(self, logtarget, commport):
49 com_sanyonewer.Phone.__init__(self, logtarget, commport) 50 self.mode=self.MODENONE
51
52 -class Profile(com_sanyonewer.Profile):
53 54 protocolclass=p_sanyo5500 55 serialsname='scp5500' 56 phone_manufacturer='SANYO' 57 phone_model='SCP-5500/US' 58 # GMR: 1.010SP ,10024 59
60 - def __init__(self):
62