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

Class Phone

source code

       object --+                
                |                
  com_phone.Phone --+            
                    |            
       com_etsi.Phone --+        
                        |        
           com_moto.Phone --+    
                            |    
com_brew.RealBrewProtocol --+    
                            |    
          com_moto_cdma.Phone --+
                                |
                               Phone
Known Subclasses:

Talk to a Motorola V710 phone

Nested Classes [hide private]

Inherited from com_brew.RealBrewProtocol: DirCache

Instance Methods [hide private]
 
__init__(self, logtarget, commport)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_get_groups(self) source code
 
_save_groups(self, fundamentals)
Save the Group(Category) data
source code
 
_get_ringtone_index(self) source code
 
_get_wallpaper_index(self) source code
 
_populate_pb_misc(self, pb_entry, pb_sub_entry, key_name, entry, fundamentals)
Populate ringtone, wallpaper to a number, email, or mail list
source code
 
_populate_pb_number(self, pb_entry, entry, fundamentals)
extract the number into BitPim phonebook entry
source code
 
_populate_pb_email(self, pb_entry, entry, fundamentals)
Extract the email component
source code
 
_populate_pb_maillist(self, pb_entry, entry, fundamentals)
Extract the mailing list component
source code
 
_populate_pb_entry(self, pb_entry, entry, fundamentals)
Populate a BitPim phonebook entry with one from the phone
source code
 
_build_pb_entry(self, entry, pb_book, fundamentals)
Build a BitPim phonebook entry based on phone data.
source code
 
_update_a_mail_list(self, entry, sd_dict) source code
 
_update_mail_list(self, pb_book, fundamentals)
Translate the contents of each mail list from speed-dial into the corresponding names or numbers.
source code
 
_del_pb_entry(self, entry_index)
Delete the phonebook entry index from the phone
source code
 
_get_group_code(self, entry, fundamentals)
Return the group index of the group.
source code
 
_get_ringtone_code(self, entry, fundamentals)
Return the ringtone code of this entry
source code
 
_get_wallpaper_name(self, entry, fundamentals)
Return the full path name for the wallpaper
source code
 
_get_primary_code(self, fundamentals) source code
 
_build_pb_maillist(self, entry, fundamentals)
Translate the mail list from text name to indices
source code
 
_set_pb_entry_misc(self, req, entry, fundamentals)
Set the ringtone, wallpaper, and primary parameters
source code
 
_write_pb_entry_numbers(self, entry, req, fundamentals)
Write all the numbers to the phone
source code
 
_write_pb_entry_emails(self, entry, req, fundamentals)
Write all emails to the phone
source code
 
_write_pb_entry_maillist(self, entry, req, fundamentals)
Write all the mail lists to the phone
source code
 
_write_pb_entry(self, entry, fundamentals)
Write an phonebook entry to the phone
source code
 
_write_pb_entries(self, fundamentals)
Write out the phonebook to the phone
source code
 
_dow(self, ymd)
Return a bitmap dayofweek
source code
 
_build_repeat_part(self, entry, calendar, fundamentals)
Build and return a repeat object of this entry
source code
 
_build_regular_cal_entry(self, entry, calendar, fundamentals)
Build a regular BitPim entry frm phone data
source code
 
_process_exceptions(self, calendar)
Process all exceptions
source code
 
_build_cal_entry(self, entry, calendar, fundamentals)
Build a BitPim calendar object from phonebook data
source code
 
_build_phone_repeat_entry(self, entry, calendar)
Build the repeat part of this phone entry
source code
 
_build_phone_alarm_entry(self, entry, calendar) source code
 
_build_phone_entry(self, entry, calendar)
Build a phone entry based on a BitPim calendar entry
source code
 
_build_phone_exception_entry(self, entry, calendar, exceptions)
Build a phone exception entry based on a BitPim entry
source code
 
_write_calendar_entries(self, fundamentals)
Write the calendar entries to the phone
source code
 
_get_new_list(self, index_key, media_key, fundamentals)
Return a list of media being replaced
source code
 
_item_from_index(self, name, item_key, index_dict) source code
 
_replace_files(self, index_key, media_key, new_list, fundamentals)
Replace existing media files with new contents
source code
 
saveringtones(self, fundamentals, merge)
Save ringtones to the phone
source code
 
savewallpapers(self, fundamentals, merge)
Save wallpapers to the phone
source code

Inherited from com_moto_cdma.Phone: getringtones, getwallpapers

Inherited from com_moto.Phone: ascii_to_ucs2, charset_ascii, charset_ucs2, decode_utf16, del_calendar_entry, encode_utf16, get_battery_level, get_firmware_version, get_manufacturer, get_model, get_phone_number, get_signal_quality, getcalendar, getfundamentals, getphonebook, getphoneinfo, getsms, lock_calendar, savecalendar, savephonebook, select_default_SMS, select_phonebook, set_mode, ucs2_to_ascii

Inherited from com_etsi.Phone: get_esn, get_manufacturer_id, get_model_id, get_sim_id, sendATcommand

Inherited from com_phone.Phone: alert, close, log, logdata, progress, raisecommsdnaexception, raisecommsexception, readobject, setmode, writeobject

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Inherited from com_brew.RealBrewProtocol: basename, dirname, exists, explore0c, get_brew_esn, getfilecontents, getfilesystem, getfirmwareinformation, hassubdirs, isdir, isfile, join, listfiles, listsubdirs, mkdir, mkdirs, modemmoderequest, offlinerequest, rmdir, rmdirs, rmfile, sendbrewcommand, setfileattr, statfile, writefile

Class Methods [hide private]
 
detectphone(_, coms, likely_ports, res, _module, _log) source code
Class Variables [hide private]
  desc = 'Moto-V710'
  helpid = 'phone-motov710.htm'
  protocolclass
Various descriptions of data specific to Motorola phones
  serialsname = 'motov710'
  builtinringtones = ((0, ('Silent')), (5, ('Vibe Dot', 'Vibe Da...

Inherited from com_moto_cdma.Phone (private): _switch_mode_cmd

Inherited from com_moto.Phone: MODEPHONEBOOK

Inherited from com_phone.Phone: MODEMODEM, MODENONE, getcallhistory, getmemo, getplaylist, gett9db, gettodo

Inherited from com_brew.RealBrewProtocol: MODEBREW, brewterminator

Inherited from com_brew.RealBrewProtocol (private): _brewepochtounix

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, logtarget, commport)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: com_brew.RealBrewProtocol.__init__

_get_groups(self)

source code 
Overrides: com_moto.Phone._get_groups

_save_groups(self, fundamentals)

source code 

Save the Group(Category) data

Overrides: com_moto.Phone._save_groups

_get_ringtone_index(self)

source code 
Overrides: com_moto.Phone._get_ringtone_index

_get_wallpaper_index(self)

source code 
Overrides: com_moto.Phone._get_wallpaper_index

_build_pb_entry(self, entry, pb_book, fundamentals)

source code 

Build a BitPim phonebook entry based on phone data.

Overrides: com_moto.Phone._build_pb_entry

_update_mail_list(self, pb_book, fundamentals)

source code 

Translate the contents of each mail list from speed-dial into the corresponding names or numbers.

Overrides: com_moto.Phone._update_mail_list

_get_group_code(self, entry, fundamentals)

source code 

Return the group index of the group. Return 1(General) if none found

_build_cal_entry(self, entry, calendar, fundamentals)

source code 

Build a BitPim calendar object from phonebook data

Overrides: com_moto.Phone._build_cal_entry

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to Motorola phones

Value:
phones.p_motov710

builtinringtones

Value:
((0, ('Silent')),
 (5,
  ('Vibe Dot',
   'Vibe Dash',
   'Vibe Dot Dot',
   'Vibe Dot Dash',
   'Vibe Pulse')),
 (11, ('Alert', 'Standard', 'Bells', 'Triads', 'Up and Down', 'Jitters\
...