Home | Trees | Index | Help |
---|
Module gammu :: Class StateMachine |
|
object
--+
|
StateMachine
StateNachine(Locale)
StateMachine object, that is used for communication with phone.
param Locale: What locales to use for gammu error messages, default is 'auto' which does autodetection according to user locales type Locale: stringMethod Summary | |
---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Adds calendar entry. | |
Adds category to phone. | |
Adds file part to filesystem. | |
Adds folder to filesystem. | |
Adds memory (phonebooks or calls) entry. | |
Adds SMS to specified folder. | |
Creates SMS folder. | |
Adds ToDo in phone. | |
Deletes all calendar entries. | |
Deletes all memory (phonebooks or calls) entries of specified type. | |
Deletes all todo entries in phone. | |
Deletes calendar entry. | |
Deletes file from filesystem. | |
Deletes folder on filesystem. | |
Deletes memory (phonebooks or calls) entry. | |
Deletes SMS. | |
Deletes SMS folder. | |
Deletes ToDo entry in phone. | |
Dials number and starts voice call. | |
Entres security code. | |
Reads alarm set in phone. | |
Gets information about batery charge and phone charging state. | |
Retrieves calendar entry. | |
Retrieves calendar status (number of used entries). | |
Reads category from phone. | |
Reads category status (number of used entries) from phone. | |
Gets specified config section. | |
Reads date and time from phone. | |
Acquired display status. | |
Gets file part from filesystem. | |
Acquires filesystem status. | |
Reads firmware information from phone. | |
Gets next filename from filesystem folder. | |
Gets hardware information about device. | |
Reads IMEI/serial number from phone. | |
Gets locale information from phone. | |
Gets month when device was manufactured. | |
Reads manufacturer from phone. | |
Reads entry from memory (phonebooks or calls). | |
Gets memory (phonebooks or calls) status (eg. | |
Reads model from phone. | |
Gets network information. | |
Retrieves calendar entry. | |
Gets next filename from filesystem. | |
Reads entry from memory (phonebooks or calls). | |
Gets next root folder from filesystem. | |
Reads next (or first if start set) SMS message. | |
Reads ToDo from phone. | |
Gets original IMEI from phone. | |
Gets PPM (Post Programmable Memory) from phone. | |
Gets product code of device. | |
Queries whether some security code needs to be entered. | |
Reads signal quality (strength and error rate). | |
Gets SIM IMSI from phone. | |
Reads SMS message. | |
Gets SMS Service Center number and SMS settings. | |
Returns SMS folders information. | |
Gets information about SMS memory (read/unread/size of memory for both SIM and phone). | |
Gets speed dial. | |
Reads ToDo from phone. | |
Gets status of ToDos (count of used entries). | |
Initialises the connection with phone. | |
Emulates key press. | |
Reads specified section of gammurc | |
Performs phone reset. | |
Resets phone settings. | |
Sends SMS saved in phone. | |
Sends SMS. | |
Sets alarm in phone. | |
Enables network auto login. | |
Sets calendar entry | |
Sets specified config section. | |
Sets date and time in phone. | |
Sets state machine debug file. | |
Sets state machine debug level accorting to passed string. | |
Sets file attributes. | |
Activates/deactivates noticing about incoming calls. | |
Sets callback function which is called whenever any (enabled) incoming event appears. | |
Gets network information from phone. | |
Enable/disable notification on incoming SMS. | |
Activates/deactivates noticing about incoming USSDs (UnStructured Supplementary Services). | |
Sets locale of phone. | |
Sets memory (phonebooks or calls) entry. | |
Sets SMS. | |
Sets SMS Service Center number and SMS settings. | |
Sets speed dial. | |
Sets ToDo in phone. | |
Enables showing information on phone display. | |
Terminates the connection with phone. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
AddCalendar(Value)Adds calendar entry.
|
AddCategory(Type, Name)Adds category to phone.
|
AddFilePart(File)Adds file part to filesystem.
|
AddFolder(ParentFolderID, Name)Adds folder to filesystem.
|
AddMemory(Value)Adds memory (phonebooks or calls) entry.
|
AddSMS(Value)Adds SMS to specified folder.
|
AddSMSFolder(Name)Creates SMS folder.
|
AddToDo(Value)Adds ToDo in phone.
|
DeleteAllCalendar()Deletes all calendar entries.
|
DeleteAllMemory(Type)Deletes all memory (phonebooks or calls) entries of specified type.
|
DeleteAllToDo()Deletes all todo entries in phone.
|
DeleteCalendar(Location)Deletes calendar entry.
|
DeleteFile(FileID)Deletes file from filesystem.
|
DeleteFolder(FolderID)Deletes folder on filesystem.
|
DeleteMemory(Type, Location)Deletes memory (phonebooks or calls) entry.
|
DeleteSMS(Folder, Location)Deletes SMS.
|
DeleteSMSFolder(ID)Deletes SMS folder.
|
DeleteToDo(Location)Deletes ToDo entry in phone.
|
DialVoice(Number, ShowNumber)Dials number and starts voice call.
|
EnterSecurityCode(Type, Code)Entres security code.
|
GetAlarm(Location)Reads alarm set in phone.
|
GetBatteryCharge()Gets information about batery charge and phone charging state.
|
GetCalendar(Location)Retrieves calendar entry.
|
GetCalendarStatus()Retrieves calendar status (number of used entries).
|
GetCategory(Type, Location)Reads category from phone.
|
GetCategoryStatus(Type)Reads category status (number of used entries) from phone.
|
GetConfig(Section)Gets specified config section. Configuration consists of all params which can be defined in gammurc config file:
|
GetDateTime()Reads date and time from phone.
|
GetDisplayStatus()Acquired display status.
|
GetFilePart(File)Gets file part from filesystem.
|
GetFileSystemStatus()Acquires filesystem status.
|
GetFirmware()Reads firmware information from phone.
|
GetFolderListing(Folder, Start)Gets next filename from filesystem folder.
|
GetHardware()Gets hardware information about device.
|
GetIMEI()Reads IMEI/serial number from phone.
|
GetLocale()Gets locale information from phone.
|
GetManufactureMonth()Gets month when device was manufactured.
|
GetManufacturer()Reads manufacturer from phone.
|
GetMemory(Type, Location)Reads entry from memory (phonebooks or calls). Which entry shouldbe read is defined in entry.
|
GetMemoryStatus(Type)Gets memory (phonebooks or calls) status (eg. number of used andfree entries).
|
GetModel()Reads model from phone.
|
GetNetworkInfo()Gets network information.
|
GetNextCalendar(Start, Location)Retrieves calendar entry. This is useful for continuous reading of all calendar entries.
|
GetNextFileFolder(Start)Gets next filename from filesystem.
|
GetNextMemory(Type, Start, Location)Reads entry from memory (phonebooks or calls). Which entry shouldbe read is defined in entry. This can be easily used for reading all entries.
|
GetNextRootFolder(Folder)Gets next root folder from filesystem. Start with empty folder name.
|
GetNextSMS(Folder, Start, Location)Reads next (or first if start set) SMS message. This might befaster for some phones than usingGetSMS for each message.
|
GetNextToDo(Start, Location)Reads ToDo from phone.
|
GetOriginalIMEI()Gets original IMEI from phone.
|
GetPPM()Gets PPM (Post Programmable Memory) from phone.
|
GetProductCode()Gets product code of device.
|
GetSecurityStatus()Queries whether some security code needs to be entered.
|
GetSignalQuality()Reads signal quality (strength and error rate).
|
GetSIMIMSI()Gets SIM IMSI from phone.
|
GetSMS(Folder, Location)Reads SMS message.
|
GetSMSC(Location)Gets SMS Service Center number and SMS settings.
|
GetSMSFolders()Returns SMS folders information.
|
GetSMSStatus()Gets information about SMS memory (read/unread/size of memory for both SIM and phone).
|
GetSpeedDial(Location)Gets speed dial.
|
GetToDo(Location)Reads ToDo from phone.
|
GetToDoStatus()Gets status of ToDos (count of used entries).
|
Init(Replies)Initialises the connection with phone.
|
PressKey(Key, Press)Emulates key press.
|
ReadConfig(Section, Configuration)Reads specified section of gammurc
|
Reset(Hard)Performs phone reset.
|
ResetPhoneSettings(Type)Resets phone settings.
|
SendSavedSMS(Folder, Location)Sends SMS saved in phone.
|
SendSMS(Value)Sends SMS.
|
SetAlarm(DateTime, Location, Repeating, Text)Sets alarm in phone.
|
SetAutoNetworkLogin()Enables network auto login.
|
SetCalendar(Value)Sets calendar entry
|
SetConfig(Section, Values)Sets specified config section.
|
SetDateTime(Date)Sets date and time in phone.
|
SetDebugFile(File, Global)Sets state machine debug file.
|
SetDebugLevel(Level)Sets state machine debug level accorting to passed string. You need to configure output file usingSetDebugFile to activate it.
|
SetFileAttributes(Filename, ReadOnly, Protected, System, Hidden)Sets file attributes.
|
SetIncomingCall(Enable)Activates/deactivates noticing about incoming calls.
|
SetIncomingCallback(Callback)Sets callback function which is called whenever any (enabled) incoming event appears. Please note that you have to enable each event type by calling SetIncoming* functions.
|
SetIncomingCB(Enable)Gets network information from phone.
|
SetIncomingSMS(Enable)Enable/disable notification on incoming SMS.
|
SetIncomingUSSD(Enable)Activates/deactivates noticing about incoming USSDs (UnStructured Supplementary Services).
|
SetLocale(DateSeparator, DateFormat, AMPMTime)Sets locale of phone.
|
SetMemory(Value)Sets memory (phonebooks or calls) entry.
|
SetSMS(Value)Sets SMS.
|
SetSMSC(Value)Sets SMS Service Center number and SMS settings.
|
SetSpeedDial(Value)Sets speed dial.
|
SetToDo(Value)Sets ToDo in phone.
|
ShowStartInfo(Enable)Enables showing information on phone display.
|
Terminate()Terminates the connection with phone.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Sep 22 08:28:07 2006 | http://epydoc.sf.net |