Package phones :: Module com_brew
[hide private]
[frames] | no frames]

Module com_brew

source code

Implements the "Brew" filesystem protocol

Classes [hide private]
  BrewNotSupported
This phone not supported
  BrewCommandException
  BrewNoMoreEntriesException
  BrewNoSuchDirectoryException
  BrewNoSuchFileException
  BrewBadPathnameException
  BrewFileLockedException
  BrewNameTooLongException
  BrewDirectoryExistsException
  BrewBadBrewCommandException
  BrewMalformedBrewCommandException
  BrewAccessDeniedException
  BrewFileSystemFullException
  BrewStatFileException
  _DirCache
This is a class that lets you do various filesystem manipulations and it remembers the data.
  DebugBrewProtocol
Emulate a phone file system using a local file system.
  RealBrewProtocol
Talk to a phone using the 'brew' protocol
  RealBrewProtocol2
Talk to a phone using the 'brew' protocol This class uses the new filesystem commands which are supported by newer qualcomm chipsets used in phones like the LG vx8100
  BrewProtocol
Talk to a phone using the 'brew' protocol
  SPURIOUSZERO
This is a special class used to consume the spurious zero in some p_brew.listfileresponse
  EXTRAZERO
This is a special class used to consume the spurious zero in some p_brew.listfileresponse or p_brew.listdirectoryresponse
  EmptyFileCache
  FileCache
Functions [hide private]
 
formatpacketerrorlog(str, origdata, data, klass) source code
 
brewbasename(str)
returns basename of str
source code
 
brewdirname(str)
returns dirname of str
source code
Variables [hide private]
  modeignoreerrortypes = (<class 'commport.CommTimeout'>, <class...
  file_cache = None
Variables Details [hide private]

modeignoreerrortypes

Value:
(<class 'commport.CommTimeout'>,
 <class 'common.CommsDeviceNeedsAttention'>,
 <class 'pywintypes.error'>,
 <class 'phones.com_brew.BrewCommandException'>,
 <class 'common.CommsDataCorruption'>)