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

Type Phone

      object --+                
               |                
           Phone --+            
                   |            
RealBrewProtocol --+            
                   |            
  SanyoPhonebook --+            
                   |            
               Phone --+        
                       |        
          SanyoMedia --+        
                       |        
                   Phone --+    
                           |    
                       Phone --+
                               |
                              Phone

Known Subclasses:
Phone, Phone, Phone, Phone

Talk to the Sanyo PM3100 cell phone
Method Summary
  __init__(self, logtarget, commport)
  check_my_phone(self, res)
  detectphone(_, coms, likely_ports, res, _module, _log)
(Class method)
  is_mode_brew(self)
    Inherited from Phone
  getfundamentals(self, results)
Gets information fundamental to interopating with the phone and UI.
    Inherited from Phone
  savecalendar(self, dict, merge)
  sendpbcommand(self, request, responseclass, callsetmode, writemode, numsendretry, returnerror)
    Inherited from SanyoMedia
  getindex(self, location)
Get an index of files in a Sanyo directory
  getmedia(self, exts, result, key)
  getmediaindex(self, builtins, maps, results, key)
  getmediaindices(self, results)
  getmediaold(self, maps, result, key)
  getsanyofilecontents(self, directory, fileindex)
Get file # index from directory # directory
    Inherited from Phone
  getringtones(self, result)
  getwallpapers(self, result)
    Inherited from SanyoPhonebook
tuple decodedate(self, val)
Unpack 32 bit value into date/time
  extractphonebookentry(self, entry, fundamentals)
Return a phonebook entry in BitPim format
  get_esn(self)
  getcalendar(self, result)
  getphonebook(self, result)
  getphoneinfo(self, phone_info)
  getringtoneindices(self, results)
  getsanyobuffer(self, responseclass)
  getwallpaperindices(self, results)
  makecidentry(self, number, slot, nindex)
Prepare entry for caller ID lookup buffer
  makeentry(self, entry, dict)
  makerepeat(self, repeatword, startdate)
  sanyosort(self, a, b)
Sanyo sort order.
  savemedia(self, mediakey, mediaindexkey, mediatype, results, merge)
Actually saves out the media
  savephonebook(self, data)
  saveringtones(self, results, merge)
  savewallpapers(self, results, merge)
  sendsanyobuffer(self, bufreq)
  writesanyofile(self, name, contents)
  writewait(self)
Loop until phone status indicates ready to write
    Inherited from Phone
  alert(self, message, wait)
Raises an alert in the main thread
  close(self)
  getcallhistory(self, result)
  getsms(self, result)
  gettodo(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)

Class Variable Summary
tuple builtinringtones = ('None', 'Vibrate', '', '', '', '', '...
int calendar_defaultcaringtone = 4                                                                     
int calendar_defaultringtone = 4                                                                     
str desc = 'SCP3100'
str detected_model = 'SCP-3100/US'
int FIRST_MEDIA_DIRECTORY = 1                                                                     
tuple imagelocations = ()
int LAST_MEDIA_DIRECTORY = 2                                                                     
str my_manufacturer = 'SANYO'
str my_model = 'SCP3100'
str serialsname = 'scp3100'
    Inherited from Phone
int calendar_toneoffset = 734                                                                   
xrange calendar_tonerange = xrange(744, 794)
    Inherited from Phone
str helpid = 'phones-sanyo.htm'
    Inherited from SanyoMedia
int CAMERA_DIRECTORY = 1                                                                     
tuple ringerexts = ('.mid', '.qcp', '.mp3', '.m4a', '.pmd', '....
tuple wallpaperexts = ('.jpg', '.png', '.mp4', '.3g2', '.JPG')
    Inherited from Phone
tuple builtinimages = ()
NoneType getringtones = None                                                                  
NoneType getwallpapers = None                                                                  
tuple ringtonelocations = ()
    Inherited from SanyoPhonebook
int calendar_voicenumber = 0                                                                     
str MODEPHONEBOOK = 'modephonebook'
str pbterminator = '~'
int phonebook_voicenumber = 0                                                                     
    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'

Class Variable Details

builtinringtones

Type:
tuple
Value:
('None', 'Vibrate', '', '', '', '', '', '', '')                        

calendar_defaultcaringtone

Type:
int
Value:
4                                                                     

calendar_defaultringtone

Type:
int
Value:
4                                                                     

desc

Type:
str
Value:
'SCP3100'                                                              

detected_model

Type:
str
Value:
'SCP-3100/US'                                                          

FIRST_MEDIA_DIRECTORY

Type:
int
Value:
1                                                                     

imagelocations

Type:
tuple
Value:
()                                                                     

LAST_MEDIA_DIRECTORY

Type:
int
Value:
2                                                                     

my_manufacturer

Type:
str
Value:
'SANYO'                                                                

my_model

Type:
str
Value:
'SCP3100'                                                              

serialsname

Type:
str
Value:
'scp3100'                                                              

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