Gammu internals
1.38.0
|
Data Structures | |
struct | GSM_WAPBookmark |
struct | GSM_WAPSettings |
struct | GSM_MultiWAPSettings |
Functions | |
GSM_Error | GSM_EncodeURLFile (unsigned char *Buffer, size_t *Length, GSM_WAPBookmark *bookmark) |
GSM_Error | GSM_GetWAPBookmark (GSM_StateMachine *s, GSM_WAPBookmark *bookmark) |
GSM_Error | GSM_SetWAPBookmark (GSM_StateMachine *s, GSM_WAPBookmark *bookmark) |
GSM_Error | GSM_DeleteWAPBookmark (GSM_StateMachine *s, GSM_WAPBookmark *bookmark) |
GSM_Error | GSM_GetWAPSettings (GSM_StateMachine *s, GSM_MultiWAPSettings *settings) |
GSM_Error | GSM_SetWAPSettings (GSM_StateMachine *s, GSM_MultiWAPSettings *settings) |
WAP bookmars and settings manipulations.
enum WAPSettings_Bearer |
Connection bearer configuration.
Enumerator | |
---|---|
WAPSETTINGS_BEARER_SMS | |
WAPSETTINGS_BEARER_DATA | |
WAPSETTINGS_BEARER_USSD | |
WAPSETTINGS_BEARER_GPRS |
Definition at line 63 of file gammu-wap.h.
enum WAPSettings_Speed |
Connection speed configuration.
Enumerator | |
---|---|
WAPSETTINGS_SPEED_9600 | |
WAPSETTINGS_SPEED_14400 | |
WAPSETTINGS_SPEED_AUTO |
Definition at line 52 of file gammu-wap.h.
GSM_Error GSM_DeleteWAPBookmark | ( | GSM_StateMachine * | s, |
GSM_WAPBookmark * | bookmark | ||
) |
Deletes WAP bookmark.
s | State machine pointer. |
bookmark | Bookmark data, need to contain location. |
Deletes WAP bookmark.
Definition at line 1144 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone_Functions::DeleteWAPBookmark, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_EncodeURLFile | ( | unsigned char * | Buffer, |
size_t * | Length, | ||
GSM_WAPBookmark * | bookmark | ||
) |
Encodes URL to VBKM file.
Buffer | Storage for text. |
Length | Pointer to storage, will be updated. |
bookmark | Bookmark to encode. |
Definition at line 288 of file gsmdata.c.
References GSM_WAPBookmark::Address, DecodeUnicodeString(), ERR_NONE, and GSM_WAPBookmark::Title.
GSM_Error GSM_GetWAPBookmark | ( | GSM_StateMachine * | s, |
GSM_WAPBookmark * | bookmark | ||
) |
Reads WAP bookmark.
s | State machine pointer. |
bookmark | Bookmark storage, need to contain location. |
Reads WAP bookmark.
Definition at line 1118 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetWAPBookmark, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_GetWAPSettings | ( | GSM_StateMachine * | s, |
GSM_MultiWAPSettings * | settings | ||
) |
Acquires WAP settings.
s | State machine pointer. |
settings | Settings storage. |
Acquires WAP settings.
Definition at line 1157 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetWAPSettings, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_SetWAPBookmark | ( | GSM_StateMachine * | s, |
GSM_WAPBookmark * | bookmark | ||
) |
Sets WAP bookmark.
s | State machine pointer. |
bookmark | Bookmark data. |
Sets WAP bookmark.
Definition at line 1131 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetWAPBookmark.
GSM_Error GSM_SetWAPSettings | ( | GSM_StateMachine * | s, |
GSM_MultiWAPSettings * | settings | ||
) |
Changes WAP settings.
s | State machine pointer. |
settings | Settings data. |
Changes WAP settings.
Definition at line 1170 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetWAPSettings.