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

Source Code for Module phones.com_motov3c

 1  ### BITPIM 
 2  ### 
 3  ### Copyright (C) 2006 Joe Pham <djpham@bitpim.org> 
 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_motov3c.py 4255 2007-05-28 02:12:29Z djpham $ 
 9   
10  """Communicate with Motorola V3c phones using AT commands""" 
11   
12  # system modules 
13   
14  # BitPim modules 
15  import com_motov710 
16  import p_motov3c 
17  import helpids 
18   
19  parentphone=com_motov710.Phone 
20 -class Phone(parentphone):
21 desc='Moto-V3c' 22 helpid=helpids.ID_PHONE_MOTOV3C 23 serialsname='motov3c' 24 protocolclass=p_motov3c 25
26 - def __init__(self, logtarget, commport):
27 parentphone.__init__(self, logtarget, commport)
28 29 #------------------------------------------------------------------------------ 30 parentprofile=com_motov710.Profile
31 -class Profile(parentprofile):
32 serialsname=Phone.serialsname 33 # use for auto-detection 34 phone_manufacturer='Motorola' 35 phone_model='V3c ' 36 common_model_name='V3c' 37 generic_phone_model='Motorola CDMA V3c Phone'
38