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

Class Phone

source code

               object --+    
                        |    
          com_phone.Phone --+
                            |
com_brew.RealBrewProtocol --+
                            |
                           Phone

Talk to Audiovox CDM 8900 cell phone

Nested Classes [hide private]

Inherited from com_brew.RealBrewProtocol: DirCache

Instance Methods [hide private]
 
__init__(self, logtarget, commport)
Calls all the constructors and sets initial modes
source code
 
getfundamentals(self, results)
Gets information fundamental to interopating with the phone and UI.
source code
 
getcalendar(self, result) source code
 
getwallpapers(self, result) source code
 
getringtones(self, result) source code
 
getphonebook(self, result)
Reads the phonebook data.
source code
 
extractphonebookentry(self, slotnumber, entry, result)
Return a phonebook entry in BitPim format.
source code
 
makephonebookentry(self, fields) source code
 
savephonebook(self, data) source code
 
sendpbcommand(self, request, responseclass) source code

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

Inherited from com_phone.Phone (private): _setmodemodem

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

Inherited from com_brew.RealBrewProtocol: basename, dirname, exists, explore0c, get_brew_esn, getfilecontents, getfilesystem, getfirmwareinformation, hassubdirs, isdir, isfile, join, listfiles, listsubdirs, mkdir, mkdirs, modemmoderequest, offlinerequest, rmdir, rmdirs, rmfile, sendbrewcommand, setfileattr, statfile, writefile

Inherited from com_brew.RealBrewProtocol (private): _setmodebrew

Class Variables [hide private]
  desc = 'Audiovox CDM8900'
  protocolclass
Various descriptions of data specific to Audiovox CDM8900
  serialsname = 'audiovoxcdm8900'
  pbterminator = '~'

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

Inherited from com_brew.RealBrewProtocol: MODEBREW, brewterminator

Inherited from com_brew.RealBrewProtocol (private): _brewepochtounix

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, logtarget, commport)
(Constructor)

source code 

Calls all the constructors and sets initial modes

Overrides: com_brew.RealBrewProtocol.__init__

getfundamentals(self, results)

source code 

Gets information fundamental to interopating with the phone and UI.

Currently this is:

  • 'uniqueserial' a unique serial number representing the phone
  • 'groups' the phonebook groups
  • 'wallpaper-index' map index numbers to names
  • 'ringtone-index' map index numbers to ringtone names

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

getphonebook(self, result)

source code 

Reads the phonebook data. The getfundamentals information will already be in result.

extractphonebookentry(self, slotnumber, entry, result)

source code 

Return a phonebook entry in BitPim format. This is called from getphonebook.


Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to Audiovox CDM8900

Value:
phones.p_audiovoxcdm8900