Package phones :: Module com_lgc2000 :: Class Phone
[hide private]
[frames] | no frames]

Class Phone

source code

     object --+            
              |            
com_phone.Phone --+        
                  |        
     com_etsi.Phone --+    
                      |    
      com_lgg4015.Phone --+
                          |
                         Phone

Talk to the LG C2000 Phone

Instance Methods [hide private]
 
__init__(self, logtarget, commport)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getfundamentals(self, results)
Gets information fundamental to interoperating with the phone and UI.
source code
 
getwallpapers(self, result) source code
 
_photo_mode(self) source code
 
_get_image_index(self, min, max, res, res_offset, origin) source code
 
_get_wallpaper_index(self)
Return the wallpaper index
source code
 
_get_media_file(self, file_name)
Read a media file
source code

Inherited from com_lgg4015.Phone: charset_ascii, charset_base64, get_detect_data, getcalendar, getcallhistory, getmemo, getphonebook, getringtones, getsms, is_mode_modem, savecalendar, savememo, savephonebook, saveringtones, savewallpapers

Inherited from com_etsi.Phone: get_esn, get_firmware_version, get_manufacturer_id, get_model_id, get_sim_id, sendATcommand

Inherited from com_etsi.Phone (private): _setmodemodem

Inherited from com_phone.Phone: alert, close, log, logdata, progress, raisecommsdnaexception, raisecommsexception, readobject, setmode, writeobject

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from com_lgg4015.Phone: detectphone

Class Variables [hide private]
  desc = 'LG-C2000'
  helpid = 'phone-lgc2000.htm'
  protocolclass
Various descriptions of data specific to LG C2000
  serialsname = 'lgc2000'

Inherited from com_lgg4015.Phone: cal_repeat_value, cal_repeat_value_r

Inherited from com_phone.Phone: MODEMODEM, MODENONE, getplaylist, gett9db, gettodo

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, logtarget, commport)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getfundamentals(self, results)

source code 

Gets information fundamental to interoperating with the phone and UI.

Currently this is:

  • 'uniqueserial' a unique serial number representing the phone
  • 'groups' the phonebook groups

This method is called before we read the phonebook data or before we write phonebook data.

Overrides: com_lgg4015.Phone.getfundamentals

getwallpapers(self, result)

source code 
Overrides: com_lgg4015.Phone.getwallpapers

_get_wallpaper_index(self)

source code 

Return the wallpaper index

Overrides: com_lgg4015.Phone._get_wallpaper_index

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to LG C2000

Value:
phones.p_lgc2000