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

Class Phone

source code

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

Talk to a Samsung SPH-A900 phone

Nested Classes [hide private]

Inherited from com_brew.RealBrewProtocol: DirCache

Instance Methods [hide private]
 
__init__(self, logtarget, commport)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_setmodephonebook(self) source code
 
sendpbcommand(self, request, responseclass, callsetmode=True, writemode=False, numsendretry=0, returnerror=False) source code
 
getfundamentals(self, results)
Gets information fundamental to interopating with the phone and UI.
source code
 
getphonebook(self, result) source code
 
writewait(self)
Loop until phone status indicates ready to write
source code
 
savephonebook(self, data) source code
 
getcalendar(self, results) 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 = 'SPH-A900'
  helpid = 'phones-samsung.htm'
  protocolclass
Proposed descriptions of data usign AT commands
  serialsname = 'spha900'
  MODEPHONEBOOK = 'modephonebook'
  imagelocations = ((400, 'cam/dldJpeg', 'camera', 100, 124), (3...
  ringtonelocations = ()
  getwallpapers = None
  getringtones = None

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 

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

Overrides: com_brew.RealBrewProtocol.__init__

Class Variable Details [hide private]

protocolclass

Proposed descriptions of data usign AT commands

Value:
phones.p_samsungspha900

imagelocations

Value:
((400, 'cam/dldJpeg', 'camera', 100, 124),
 (300, 'cam/jpeg', 'camera', 100, 124))