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

Type Phone

object --+                        
         |                        
     Phone --+                    
             |                    
         Phone --+                
                 |                
             Phone --+            
                     |            
  RealBrewProtocol --+            
                     |            
                 Phone --+        
                         |        
                     Phone --+    
                             |    
                         Phone --+
                                 |
                                Phone


Method Summary
    Inherited from Phone
  __init__(self, logtarget, commport)
  getringtones(self, fundamentals)
Retrieve ringtones data
  saveringtones(self, fundamentals, merge)
Save ringtones to the phone
  savewallpapers(self, fundamentals, merge)
Save wallpapers to the phone
  _add_files(self, index_key, media_key, media_path, new_list, fundamentals)
Add new file using OBEX
  _del_files(self, index_key, media_path, _del_list, fundamentals)
Delete specified media files, need to be in OBEX mode
  _get_del_new_list(self, index_key, media_key, merge, fundamentals, origins)
Return a list of media being deleted and being added
  _read_obex_media(self, index_key, media_key, media_path, fundamentals)
  _replace_files(self, index_key, media_key, new_list, fundamentals)
Replace existing files with new contents using BREW
  _setmodeobex(self)
  _setmodeobextomodem(self)
    Inherited from Phone
  detectphone(_, coms, likely_ports, res, _module, _log)
(Class method)
  _build_cal_entry(self, entry, calendar, fundamentals)
Build a BitPim calendar object from phonebook data
  _build_pb_entry(self, entry, pb_book, fundamentals)
Build a BitPim phonebook entry based on phone data.
  _build_pb_maillist(self, entry, fundamentals)
Translate the mail list from text name to indices
  _build_phone_alarm_entry(self, entry, calendar)
  _build_phone_entry(self, entry, calendar)
Build a phone entry based on a BitPim calendar entry
  _build_phone_exception_entry(self, entry, calendar, exceptions)
Build a phone exception entry based on a BitPim entry
  _build_phone_repeat_entry(self, entry, calendar)
Build the repeat part of this phone entry
  _build_regular_cal_entry(self, entry, calendar, fundamentals)
Build a regular BitPim entry frm phone data
  _build_repeat_part(self, entry, calendar, fundamentals)
Build and return a repeat object of this entry
  _del_pb_entry(self, entry_index)
Delete the phonebook entry index from the phone
  _dow(self, ymd)
Return a bitmap dayofweek
  _get_group_code(self, entry, fundamentals)
Return the group index of the group.
  _get_groups(self)
  _get_new_list(self, index_key, media_key, fundamentals)
Return a list of media being replaced
  _get_primary_code(self, fundamentals)
  _get_ringtone_code(self, entry, fundamentals)
Return the ringtone code of this entry
  _get_ringtone_index(self)
  _get_wallpaper_index(self)
  _get_wallpaper_name(self, entry, fundamentals)
Return the full path name for the wallpaper
  _item_from_index(self, name, item_key, index_dict)
  _populate_pb_email(self, pb_entry, entry, fundamentals)
Extract the email component
  _populate_pb_entry(self, pb_entry, entry, fundamentals)
Populate a BitPim phonebook entry with one from the phone
  _populate_pb_maillist(self, pb_entry, entry, fundamentals)
Extract the mailing list component
  _populate_pb_misc(self, pb_entry, pb_sub_entry, key_name, entry, fundamentals)
Populate ringtone, wallpaper to a number, email, or mail list
  _populate_pb_number(self, pb_entry, entry, fundamentals)
extract the number into BitPim phonebook entry
  _process_exceptions(self, calendar)
Process all exceptions
  _save_groups(self, fundamentals)
Save the Group(Category) data
  _set_pb_entry_misc(self, req, entry, fundamentals)
Set the ringtone, wallpaper, and primary parameters
  _update_a_mail_list(self, entry, sd_dict)
  _update_mail_list(self, pb_book, fundamentals)
Translate the contents of each mail list from speed-dial into the corresponding names or numbers.
  _write_calendar_entries(self, fundamentals)
Write the calendar entries to the phone
  _write_pb_entries(self, fundamentals)
Write out the phonebook to the phone
  _write_pb_entry(self, entry, fundamentals)
Write an phonebook entry to the phone
  _write_pb_entry_emails(self, entry, req, fundamentals)
Write all emails to the phone
  _write_pb_entry_maillist(self, entry, req, fundamentals)
Write all the mail lists to the phone
  _write_pb_entry_numbers(self, entry, req, fundamentals)
Write all the numbers to the phone
    Inherited from Phone
  getwallpapers(self, fundamentals)
Retrieve wallpaper data
  _read_media(self, index_key, fundamentals)
Read the contents of media files and return
  _setmodebrew(self)
  _setmodebrewtomodem(self)
  _setmodemodem(self)
  _setmodemodemtobrew(self)
  _setmodephonebooktobrew(self)
    Inherited from Phone
  ascii_to_ucs2(self, v)
convert an ascii string to UCS-2
  charset_ascii(self)
Set the charset to ASCII (default)
  charset_ucs2(self)
Set the charset to UCS-2, used for most string values
  decode_utf16(self, v)
Decode a Motorola unicode string
  del_calendar_entry(self, index)
  encode_utf16(self, v)
Encode a unicode/string into a Motorola unicode
  get_battery_level(self)
  get_firmware_version(self)
  get_manufacturer(self)
  get_model(self)
  get_phone_number(self)
  get_signal_quality(self)
  getcalendar(self, result)
Read all calendars from the phone
  getfundamentals(self, results)
Gets information fundamental to interopating with the phone and UI.
  getphonebook(self, result)
Reads the phonebook data.
  getphoneinfo(self, phone_info)
  lock_calendar(self, lock)
Lock the calendar to access it
  savecalendar(self, result, merge)
Save calendar entries to the phone
  savephonebook(self, result)
Saves out the phonebook
  select_default_SMS(self)
Select the default SMS storage
  select_phonebook(self, phonebook)
  set_mode(self, mode)
Set the current phone mode
  ucs2_to_ascii(self, v)
convert an UCS-2 to ASCII string
  _ensure_speeddials(self, fundamentals)
Make sure that each and every number/email/mail list has a speed dial, which is being used as the slot/index number
  _get_sd_slot(self, entries, sd_slots, key_name)
Populate the next available speed dial
  _mark_used_slots(self, entries, sd_slots, key_name)
Mark the speed dial slots being used
  _process_sms_header(self, _header, _entry)
  _process_sms_result(self, _res, _sms, fundamentals)
Process an SMS result as returned from the phone
  _process_sms_text(self, res, entry)
  _setmodemodemtophonebook(self)
  _setmodephonebook(self)
  _setmodephonebooktomodem(self)
  _setup_group_name_dict(self, fundamentals)
Create a new group dict keyed by name for lookup
  _setup_ringtone_name_dict(self, fundamentals)
Create a new ringtone dict keyed by name for lookup
  _update_group_ringtone(self, results)
    Inherited from Phone
  get_esn(self)
  get_manufacturer_id(self)
  get_model_id(self)
  get_sim_id(self)
  sendATcommand(self, request, responseclass, ignoreerror)
Similar to the sendpbcommand in com_sanyo and com_lg, except that a list of responses is returned, one per line of information returned from the phone
    Inherited from Phone
  alert(self, message, wait)
Raises an alert in the main thread
  close(self)
  getsms(self, fundamentals)
Read SMS messages from the phone
  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
str desc = 'Moto-E815m'
str helpid = 'phone-motoe815m.htm'
str serialsname = 'motoe815m'
    Inherited from Phone
str MODEOBEX = 'modeobex'
    Inherited from Phone
tuple builtinringtones = ((0, ('Silent',)), (5, ('Vibe Dot', '...
    Inherited from Phone
str _switch_mode_cmd = 'DX\xf4~'
    Inherited from Phone
str MODEPHONEBOOK = 'modephonebook'
    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'
int _brewepochtounix = 315964800                                                             

Class Variable Details

desc

Type:
str
Value:
'Moto-E815m'                                                           

helpid

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

serialsname

Type:
str
Value:
'motoe815m'                                                            

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