Gammu API
1.38.0
|
Data Structures | |
struct | GSM_Category |
struct | GSM_CategoryStatus |
Enumerations | |
enum | GSM_CategoryType { Category_ToDo = 1, Category_Phonebook } |
Functions | |
GSM_Error | GSM_GetCategory (GSM_StateMachine *s, GSM_Category *Category) |
GSM_Error | GSM_AddCategory (GSM_StateMachine *s, GSM_Category *Category) |
GSM_Error | GSM_GetCategoryStatus (GSM_StateMachine *s, GSM_CategoryStatus *Status) |
GSM_Error | GSM_GetDateTime (GSM_StateMachine *s, GSM_DateTime *date_time) |
GSM_Error | GSM_SetDateTime (GSM_StateMachine *s, GSM_DateTime *date_time) |
Categories handling.
enum GSM_CategoryType |
Type of category
Enumerator | |
---|---|
Category_ToDo | Todo entry category |
Category_Phonebook | Phonebook entry category |
Definition at line 28 of file gammu-category.h.
GSM_Error GSM_AddCategory | ( | GSM_StateMachine * | s, |
GSM_Category * | Category | ||
) |
Adds category to phone.
s | State machine pointer. |
Category | New category, containing its type and location. |
GSM_Error GSM_GetCategory | ( | GSM_StateMachine * | s, |
GSM_Category * | Category | ||
) |
Reads category from phone.
s | State machine pointer. |
Category | Storage for category, containing its type and location. |
GSM_Error GSM_GetCategoryStatus | ( | GSM_StateMachine * | s, |
GSM_CategoryStatus * | Status | ||
) |
Reads category status (number of used entries) from phone.
s | State machine pointer. |
Status | Category status, fill in type before calling. |
GSM_Error GSM_GetDateTime | ( | GSM_StateMachine * | s, |
GSM_DateTime * | date_time | ||
) |
Reads date and time from phone.
s | State machine pointer. |
date_time | Storage for date. |
GSM_Error GSM_SetDateTime | ( | GSM_StateMachine * | s, |
GSM_DateTime * | date_time | ||
) |
Sets date and time in phone.
s | State machine pointer. |
date_time | Date to set. |