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

Class Phone

source code

               object --+        
                        |        
          com_phone.Phone --+    
                            |    
com_brew.RealBrewProtocol --+    
                            |    
     com_samsung_packet.Phone --+
                                |
                               Phone

Talk to a Samsung SPH-A840 phone (Telus)

Nested Classes [hide private]

Inherited from com_brew.RealBrewProtocol: DirCache

Instance Methods [hide private]
 
__init__(self, logtarget, commport)
Call all the contructors and sets initial modes
source code
 
getfundamentals(self, results)
Gets information fundamental to interoperating with the phone and UI.
source code
 
_get_builtin_index(self, builtin_list) source code
 
get_wallpaper_index(self) source code
 
pblinerepair(self, line)
Extend incomplete lines
source code
 
countcommas(self, line) source code
 
savewallpapers(self, result) source code
 
saveringtones(self, result) source code
 
getringtones(self, results) source code
 
getwallpapers(self, results) source code
 
read_groups(self) source code
 
savegroups(self, data)
This phone doesn't save or read groups properly so we are skipping the save
source code
 
_extract_wallpaper(self, res, entry, fundamentals) source code
 
_extract_ringtone(self, res, entry, fundamentals) source code
 
extractphonebookentry(self, entry, fundamentals) source code
 
getphonebook(self, result)
Read the phonebook data.
source code
 
makeentry(self, entry, data) source code
 
savephonebook(self, data)
Saves out the phonebook
source code
 
getcalendar(self, result) source code
 
savecalendar(self, dict, merge) source code

Inherited from com_samsung_packet.Phone: get_battery_level, get_esn, get_manufacturer, get_model, getbasicinfo, getmemo, getphoneinfo, gettodo, process_calendar, savememo, savetodo, sendpbcommand

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

Inherited from com_brew.RealBrewProtocol (private): _setmodebrew

Class Variables [hide private]
  __read_timeout = 0.5
  __cal_end_datetime_value = None
  __cal_alarm_values = {0: -1, 1: 0, 2: 10, 3: 30, 4: 60}
  __cal_max_name_len = 32
  _cal_max_events_per_day = 5
  desc = 'SPH-A840 (Telus)'
  helpid = 'phones-samsung.htm'
  protocolclass
Proposed descriptions of data usign AT commands
  serialsname = 'spha840T'
  builtin_ringtones = ((0, ['Default Tone']), (1, ['Ring 01', 'R...
  builtin_pictures = ((0, ['Human 01', 'Human 02', 'Human 03', '...
  x = 10

Inherited from com_samsung_packet.Phone: MODEPHONEBOOK, builtinimages, builtinringtones, getcallhistory

Inherited from com_phone.Phone: MODEMODEM, MODENONE, getplaylist, getsms, gett9db

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 

Call all the contructors and sets initial modes

Overrides: com_brew.RealBrewProtocol.__init__

pblinerepair(self, line)

source code 

Extend incomplete lines

Overrides: com_samsung_packet.Phone.pblinerepair

read_groups(self)

source code 
Overrides: com_samsung_packet.Phone.read_groups

savegroups(self, data)

source code 

This phone doesn't save or read groups properly so we are skipping the save

Overrides: com_samsung_packet.Phone.savegroups

extractphonebookentry(self, entry, fundamentals)

source code 
Overrides: com_samsung_packet.Phone.extractphonebookentry

getphonebook(self, result)

source code 

Read the phonebook data.

Overrides: com_samsung_packet.Phone.getphonebook

makeentry(self, entry, data)

source code 
Overrides: com_samsung_packet.Phone.makeentry

savephonebook(self, data)

source code 

Saves out the phonebook

Overrides: com_samsung_packet.Phone.savephonebook

getcalendar(self, result)

source code 
Overrides: com_samsung_packet.Phone.getcalendar

savecalendar(self, dict, merge)

source code 
Overrides: com_samsung_packet.Phone.savecalendar

Class Variable Details [hide private]

protocolclass

Proposed descriptions of data usign AT commands

Value:
phones.p_samsungspha840_telus

builtin_ringtones

Value:
((0, ['Default Tone']),
 (1, ['Ring 01', 'Ring 02', 'Ring 03', 'Ring 04', 'Ring 05']),
 (6,
  ['Melody 01', 'Melody 02', 'Melody 03', 'Melody 04', 'Melody 05']))

builtin_pictures

Value:
((0,
  ['Human 01',
   'Human 02',
   'Human 03',
   'Human 04',
   'Human 05',
   'Human 06',
   'Human 07',
...