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

Type Phone

     LGUncountedIndexedMedia --+    
                               |    
               LGDMPhone --+   |    
                           |   |    
   LGNewIndexedMedia --+   |   |    
                       |   |   |    
      LGNewIndexedMedia2 --+   |    
                           |   |    
   LGNewIndexedMedia --+   |   |    
                       |   |   |    
  LGIndexedMedia --+   |   |   |    
                   |   |   |   |    
     LGPhonebook --+   |   |   |    
                   |   |   |   |    
      object --+   |   |   |   |    
               |   |   |   |   |    
           Phone --+   |   |   |    
                   |   |   |   |    
RealBrewProtocol --+   |   |   |    
                   |   |   |   |    
               Phone --+   |   |    
                       |   |   |    
                   Phone --+   |    
                           |   |    
                       Phone --+    
                               |    
                           Phone --+
                                   |
                                  Phone


Talk to the LG VX5300 cell phone
Method Summary
  setDMversion(self)
Define the DM version required for this phone, default to DMv5
    Inherited from Phone
  __init__(self, logtarget, commport)
  get_detect_data(self, res)
  get_esn(self, data)
    Inherited from LGUncountedIndexedMedia
  external_storage_present(self)
  getindex(self, filename)
read an index file
  getmedia(self, maps, results, key)
  getmediaindex(self, builtins, maps, results, key)
Gets the media (wallpaper/ringtone) index
  getringtoneindices(self, results)
  getringtones(self, result)
  getwallpaperindices(self, results)
  getwallpapers(self, result)
  is_external_media(self, filename)
  savemedia(self, mediakey, mediaindexkey, maps, results, merge, reindexfunction, update_index_file)
Actually saves out the media
  saveringtones(self, results, merge)
  savewallpapers(self, results, merge)
    Inherited from Phone
  get_firmware_version(self)
  getcalendar(self, result)
  getcalendarcommon(self, entry, event)
  getexceptions(self)
  getgroups(self, results)
  getphoneinfo(self, phone_info)
  getrepeattype(self, entry, exceptions)
  makerepeat(self, repeat)
  savecalendar(self, dict, merge)
  savegroups(self, data)
  savememo(self, result, merge)
  setalarm(self, entry, data)
    Inherited from LGDMPhone
  __del__(self)
  enter_DM(self, e)
  get_challenge_response(self, challenge)
    Inherited from Phone
  detectphone(_, coms, likely_ports, res, _module, _log)
(Class method)
  eval_detect_data(self, res)
  extractphonebookentry(self, entry, speeds, fundamentals)
Return a phonebook entry in BitPim format.
  get_cal(self, sch_file, exceptions, ringtone_index)
  getfundamentals(self, results)
Gets information fundamental to interopating with the phone and UI.
  getphonebook(self, result)
Reads the phonebook data.
  is_mode_brew(self)
  makeentry(self, counter, entry, data)
Creates pbentry object
  savephonebook(self, data)
Saves out the phonebook
  savesms(self, result, merge)
  set_cal(self, sch_file, cal_dict, ringtone_index, voice_files)
    Inherited from Phone
  alert(self, message, wait)
Raises an alert in the main thread
  close(self)
  getcallhistory(self, result)
  getmemo(self, result)
  getsms(self, result)
  log(self, str)
Log a message
  logdata(self, str, data, klass)
Log some data with option data object/class for the analyser
  progress(self, pos, max, desc)
Update the progress meter
  raisecommsdnaexception(self, str)
Raise a comms DeviceNeedsAttention Exception
  raisecommsexception(self, str, klass)
  readobject(self, filename, object_class, logtitle, uselocalfs)
Read the specified filename and bind it to the object class
  setmode(self, desiredmode)
Ensure the phone is in the right mode
  writeobject(self, filename, obj, logtitle, uselocalfs)
Writhe the object into the file
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from RealBrewProtocol
  basename(self, path)
  dirname(self, filename)
  exists(self, path)
  explore0c(self)
  get_brew_esn(self)
  getfilecontents(self, file, use_cache)
  getfilesystem(self, dir, recurse)
  getfirmwareinformation(self)
  hassubdirs(self, dir)
  isdir(self, path)
  isfile(self, filename)
  join(self, *args)
  listfiles(self, dir)
  listsubdirs(self, dir, recurse)
  mkdir(self, name)
  mkdirs(self, directory)
  modemmoderequest(self)
  offlinerequest(self, reset, delay)
  rmdir(self, name)
  rmdirs(self, path)
  rmfile(self, name)
  sendbrewcommand(self, request, responseclass, callsetmode)
  setfileattr(self, filename, date)
  statfile(self, name)
  writefile(self, name, contents)
    Inherited from LGPhonebook
  sendpbcommand(self, request, responseclass, callsetmode)

Class Variable Summary
tuple builtinringtones = ('Low Beep Once', 'Low Beeps', 'Loud ...
tuple builtinwallpapers = ()
str calendarexceptionlocation = 'sch/schexception.dat'
str calendarlocation = 'sch/schedule.dat'
int calenderrequiresreboot = 1                                                                     
str desc = 'LG-VX5300'
str external_storage_root = 'mmc1/'
str helpid = 'phone-lgvx5300.htm'
str memolocation = 'sch/memo.dat'
str my_model = 'VX5300'
int n = 10                                                                    
tuple ringtonelocations = (('ringers', 'dload/myringtone.dat',...
str serialsname = 'lgvx5300'
tuple wallpaperlocations = (('images', 'dload/image.dat', 'bre...
    Inherited from Phone
dict media_info = {'images': {'index': 100, 'vtype': 256, 'du...
    Inherited from Phone
str brew_version_file = 'brew/version.txt'
str brew_version_txt_key = 'brew_version.txt'
tuple builtinimages = ('Balloons', 'Soccer', 'Basketball', 'Bi...
str esn_file = 'nvm/$SYS.ESN'
str esn_file_key = 'esn_file'
tuple imagelocations = ((10, 'dloadindex/brewImageIndex.map', ...
str lgpbinfo_key = 'lgpbinfo'
str ringerindexfilename = 'dloadindex/brewRingerIndex.map'
str wallpaperindexfilename = 'dloadindex/brewImageIndex.map'...
    Inherited from Phone
NotImplementedType getcallhistory = NotImplemented
NotImplementedType getmemo = NotImplemented
NotImplementedType getplaylist = NotImplemented
NotImplementedType getsms = NotImplemented
NotImplementedType gett9db = NotImplemented
NotImplementedType gettodo = NotImplemented
str MODEMODEM = 'modemodem'
str MODENONE = 'modenone'
    Inherited from RealBrewProtocol
str brewterminator = '~'
str MODEBREW = 'modebrew'
    Inherited from LGPhonebook
str MODEPHONEBOOK = 'modephonebook'
str pbterminator = '~'

Instance Method Details

setDMversion(self)

Define the DM version required for this phone, default to DMv5
Overrides:
phones.com_lgvx8300.Phone.setDMversion (inherited documentation)

Class Variable Details

builtinringtones

Type:
tuple
Value:
('Low Beep Once',
 'Low Beeps',
 'Loud Beep Once',
 'Loud Beeps',
 'VZW Default Ringtone',
 'Ringtone 1',
 'Ringtone 2',
 'Ringtone 3',
...                                                                    

builtinwallpapers

Type:
tuple
Value:
()                                                                     

calendarexceptionlocation

Type:
str
Value:
'sch/schexception.dat'                                                 

calendarlocation

Type:
str
Value:
'sch/schedule.dat'                                                     

calenderrequiresreboot

Type:
int
Value:
1                                                                     

desc

Type:
str
Value:
'LG-VX5300'                                                            

external_storage_root

Type:
str
Value:
'mmc1/'                                                                

helpid

Type:
str
Value:
'phone-lgvx5300.htm'                                                   

memolocation

Type:
str
Value:
'sch/memo.dat'                                                         

my_model

Type:
str
Value:
'VX5300'                                                               

n

Type:
int
Value:
10                                                                    

ringtonelocations

Type:
tuple
Value:
(('ringers',
  'dload/myringtone.dat',
  'brew/16452/lk/mr',
  'mmc1/ringers',
  100,
  1,
  None),
 ('sounds', 'dload/mysound.dat', 'brew/16452/ms', '', 100, 2, None),
...                                                                    

serialsname

Type:
str
Value:
'lgvx5300'                                                             

wallpaperlocations

Type:
tuple
Value:
(('images', 'dload/image.dat', 'brew/16452/mp', '', 100, 0, None),
 ('video', 'dload/video.dat', 'brew/16452/mf', '', 100, 3, None))      

Generated by Epydoc 2.1 on Fri Aug 15 18:58:27 2008 http://epydoc.sf.net