Package phones :: Module com_lg :: Class LGDMPhone
[show private | hide private]
[frames | no frames]

Class LGDMPhone

Known Subclasses:
Phone

Class to handle getting the phone into Diagnostic Mode (DM) for later
Lg model phones.  Subclass should set the following in __init__:
    self._timeout: how long (in seconds) before the phone gets kicked out of DM
Subclass may also override the following methods:
    self.setDMversion(): set self._DMv5 to True or False.

Method Summary
  __init__(self)
  __del__(self)
  enter_DM(self, e)
  get_challenge_response(self, challenge)
  setDMversion(self)
Define the DM version required for this phone, default to DMv5
  _DMv6_get_compile_time(self)
  _DMv6_get_esn(self)
  _DMv6_get_extra_data(self, data_field)
  _enter_DMv4(self)
  _enter_DMv5(self)
  _enter_DMv6(self)
  _filefunc(self, func, *args, **kwargs)
  _lock_key(self)
  _OnTimer(self)
  _press_key(self, keys)
  _rotate_left(self, value, nbits)
  _sendbrewcommand(self, func, *args, **kwargs)
  _unlock_key(self)

Method Details

setDMversion(self)

Define the DM version required for this phone, default to DMv5

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