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

Class Phone

source code

               object --+            
                        |            
          com_phone.Phone --+        
                            |        
com_brew.RealBrewProtocol --+        
                            |        
       com_lg.LGPhonebook --+        
                            |        
    com_lg.LGIndexedMedia --+        
                            |        
           com_lgvx4400.Phone --+    
                                |    
                com_lgpm225.Phone --+
                                    |
                                   Phone

Talk to the LG LX325/PM325 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

Inherited from com_lgpm225.Phone: extractphonebookentry, get_content_file, get_phonebook_media, getfundamentals, getindex, getmedia, getmediaindex, getphonebook, getphoneinfo, getringtoneindices, getringtones, getwallpaperindices, getwallpapers, make_new_media_entry, makeentry, makegcd, makejad, save_phonebook_media, savegroups, savemedia, savephonebook, saveringtones, savewallpapers, syncbegin, syncend

Inherited from com_lgvx4400.Phone: eval_detect_data, get_cal, get_detect_data, get_esn, getcalendar, getcallhistory, getgroups, getmemo, getsms, is_mode_brew, savecalendar, savememo, savesms, set_cal

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

Inherited from com_lg.LGPhonebook: sendpbcommand

Class Methods [hide private]

Inherited from com_lgvx4400.Phone: detectphone

Class Variables [hide private]
  desc = 'LG PM325'
  helpid = None
  protocolclass
Various descriptions of data specific to LG PM325 (Sprint)
  serialsname = 'lgpm325'
  imagelocations = 0x600, "setas/dcamIndex.map", "Dcam/Wallet", ...
  ringtonelocations = 0x1100, "setas/voicememoRingerIndex.map", ...
  builtinimages = ()
  builtinringtones = ('Tone 1', 'Tone 2', 'Tone 3', 'Tone 4', 'T...
  brew_version_file = 'ams/version.txt'
  brew_version_txt_key = 'ams_version.txt'
  my_model = 'LX325'

Inherited from com_lgvx4400.Phone: esn_file, esn_file_key, lgpbinfo_key, ringerindexfilename, wallpaperindexfilename

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

Inherited from com_brew.RealBrewProtocol: MODEBREW, brewterminator

Inherited from com_brew.RealBrewProtocol (private): _brewepochtounix

Inherited from com_lg.LGPhonebook: MODEPHONEBOOK, pbterminator

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_lg.LGIndexedMedia.__init__

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to LG PM325 (Sprint)

Value:
phones.p_lgpm325

imagelocations

Value:
0x600, "setas/dcamIndex.map", "Dcam/Wallet", "camera", 50, 6,

ringtonelocations

Value:
0x1100, "setas/voicememoRingerIndex.map", "VoiceDB/All/Memos", "voice_\
memo", 50, 11,

builtinringtones

Value:
('Tone 1',
 'Tone 2',
 'Tone 3',
 'Tone 4',
 'Tone 5',
 'Tone 6',
 'Alert 1',
 'Alert 2',
...