Trees | Index | Help |
|
---|
Package phones :: Module com_moto :: Class Phone |
|
object
--+ |Phone
--+ |Phone
--+ | Phone
Phone
,
Phone
Method Summary | |
---|---|
__init__(self,
logtarget,
commport)
| |
convert an ascii string to UCS-2 | |
Set the charset to ASCII (default) | |
Set the charset to UCS-2, used for most string values | |
Decode a Motorola unicode string | |
del_calendar_entry(self,
index)
| |
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)
| |
Read all calendars from the phone | |
Gets information fundamental to interopating with the phone and UI. | |
Reads the phonebook data. | |
getphoneinfo(self,
phone_info)
| |
Lock the calendar to access it | |
Save calendar entries to the phone | |
Saves out the phonebook | |
Select the default SMS storage | |
select_phonebook(self,
phonebook)
| |
Set the current phone mode | |
convert an UCS-2 to ASCII string | |
Inherited from Phone | |
| |
| |
| |
| |
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 | |
Raises an alert in the main thread | |
| |
Read SMS messages from the phone | |
Log a message | |
Log some data with option data object/class for the analyser | |
Update the progress meter | |
Raise a comms DeviceNeedsAttention Exception | |
| |
Read the specified filename and bind it to the object class | |
Ensure the phone is in the right mode | |
Writhe the object into the file | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
str |
desc = 'Motorola'
|
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'
|
Method Details |
---|
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 |
encode_utf16(self, v)Encode a unicode/string into a Motorola unicode |
getcalendar(self, result)Read all calendars from the phone |
getfundamentals(self, results)Gets information fundamental to interopating with the phone and UI. Currently this is:
|
getphonebook(self, result)Reads the phonebook data. Thegetfundamentals information will already
be in result.
|
getsms(self, fundamentals)Read SMS messages from the phone |
lock_calendar(self, lock=True)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 |
set_mode(self, mode)Set the current phone mode |
ucs2_to_ascii(self, v)convert an UCS-2 to ASCII string |
Class Variable Details |
---|
desc
|
MODEPHONEBOOK
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:24 2008 | http://epydoc.sf.net |