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

Source Code for Module phones.com_motov3cm

 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_motov3cm.py 4255 2007-05-28 02:12:29Z djpham $ 
 9   
10  """Communicate with Motorola V3cm phones using AT commands""" 
11   
12  # BitPim modules 
13  import com_motov710m 
14  import p_motov3c 
15  import helpids 
16   
17  parentphone=com_motov710m.Phone 
18 -class Phone(parentphone):
19 desc='Moto-V3cm' 20 helpid=helpids.ID_PHONE_MOTOV3CM 21 serialsname='motov3cm' 22 protocolclass=p_motov3c 23
24 - def __init__(self, logtarget, commport):
25 parentphone.__init__(self, logtarget, commport)
26 27 #------------------------------------------------------------------------------ 28 parentprofile=com_motov710m.Profile
29 -class Profile(parentprofile):
30 serialsname=Phone.serialsname 31 # use for auto-detection 32 phone_manufacturer='Motorola' 33 phone_model='V3cm' 34 common_model_name='V3c' 35 generic_phone_model='Motorola CDMA V3c Phone'
36