|
Gammu internals
1.38.0
|


Go to the source code of this file.
Data Structures | |
| struct | GSM_SyncMLSettings |
| struct | GSM_ChatSettings |
| struct | GSM_Profile |
| struct | GSM_FMStation |
| struct | GSM_GPRSAccessPoint |
| struct | GSM_Locale |
| struct | GSM_Profile_PhoneTableValue |
Phone settings data and functions.
Definition in file gammu-settings.h.
| enum GSM_DateFormat |
| Enumerator | |
|---|---|
| GSM_Date_DDMMYYYY | |
| GSM_Date_MMDDYYYY | |
| GSM_Date_YYYYMMDD | |
| GSM_Date_DDMMMYY | |
| GSM_Date_MMDDYY | |
| GSM_Date_DDMMYY | |
| GSM_Date_YYMMDD | |
| GSM_Date_OFF | |
Definition at line 156 of file gammu-settings.h.
| enum GSM_Profile_Feat_ID |
Definition at line 97 of file gammu-settings.h.
Definition at line 56 of file gammu-settings.h.
| Enumerator | |
|---|---|
| GSM_RESET_PHONESETTINGS | |
| GSM_RESET_USERINTERFACE | |
| GSM_RESET_USERINTERFACE_PHONESETTINGS | |
| GSM_RESET_DEVICE | |
| GSM_RESET_FULLFACTORY | |
Definition at line 38 of file gammu-settings.h.
| GSM_Error GSM_ClearFMStations | ( | GSM_StateMachine * | s | ) |
Clears defined FM stations.
Definition at line 1685 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone_Functions::ClearFMStations, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_GetChatSettings | ( | GSM_StateMachine * | s, |
| GSM_ChatSettings * | settings | ||
| ) |
Acquires chat/presence settings.
Definition at line 1209 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetChatSettings, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_GetFMStation | ( | GSM_StateMachine * | s, |
| GSM_FMStation * | FMStation | ||
| ) |
Reads FM station.
Definition at line 1659 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetFMStation, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_GetGPRSAccessPoint | ( | GSM_StateMachine * | s, |
| GSM_GPRSAccessPoint * | point | ||
| ) |
Gets GPRS access point.
Definition at line 1843 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetGPRSAccessPoint, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_GetLocale | ( | GSM_StateMachine * | s, |
| GSM_Locale * | locale | ||
| ) |
Gets locale from phone.
Definition at line 281 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetLocale, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_GetMMSSettings | ( | GSM_StateMachine * | s, |
| GSM_MultiWAPSettings * | settings | ||
| ) |
Acquires MMS settings.
Definition at line 1235 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetMMSSettings, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_GetProfile | ( | GSM_StateMachine * | s, |
| GSM_Profile * | Profile | ||
| ) |
Reads profile.
Definition at line 1633 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetProfile, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_GetSyncMLSettings | ( | GSM_StateMachine * | s, |
| GSM_SyncMLSettings * | settings | ||
| ) |
Acquires SyncML settings.
Definition at line 1183 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetSyncMLSettings, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
| GSM_Error GSM_Reset | ( | GSM_StateMachine * | s, |
| gboolean | hard | ||
| ) |
Performs phone reset.
Definition at line 333 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::Reset.
Referenced by GSM_WaitFor().
| GSM_Error GSM_ResetPhoneSettings | ( | GSM_StateMachine * | s, |
| GSM_ResetSettingsType | Type | ||
| ) |
Resets phone settings.
Definition at line 346 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::ResetPhoneSettings.
| GSM_Error GSM_SetAutoNetworkLogin | ( | GSM_StateMachine * | s | ) |
Enables network auto login.
Definition at line 398 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetAutoNetworkLogin.
| GSM_Error GSM_SetChatSettings | ( | GSM_StateMachine * | s, |
| GSM_ChatSettings * | settings | ||
| ) |
Changes chat/presence settings.
Definition at line 1222 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetChatSettings.
| GSM_Error GSM_SetFMStation | ( | GSM_StateMachine * | s, |
| GSM_FMStation * | FMStation | ||
| ) |
Sets FM station.
Definition at line 1672 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetFMStation.
| GSM_Error GSM_SetGPRSAccessPoint | ( | GSM_StateMachine * | s, |
| GSM_GPRSAccessPoint * | point | ||
| ) |
Sets GPRS access point.
Definition at line 1856 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetGPRSAccessPoint.
| GSM_Error GSM_SetLocale | ( | GSM_StateMachine * | s, |
| GSM_Locale * | locale | ||
| ) |
Sets locale of phone.
Definition at line 294 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetLocale.
| GSM_Error GSM_SetMMSSettings | ( | GSM_StateMachine * | s, |
| GSM_MultiWAPSettings * | settings | ||
| ) |
Changes MMS settings.
Definition at line 1248 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetMMSSettings.
| GSM_Error GSM_SetProfile | ( | GSM_StateMachine * | s, |
| GSM_Profile * | Profile | ||
| ) |
Updates profile.
Definition at line 1646 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetProfile.
| GSM_Error GSM_SetSyncMLSettings | ( | GSM_StateMachine * | s, |
| GSM_SyncMLSettings * | settings | ||
| ) |
Changes SyncML settings.
Definition at line 1196 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and GSM_Phone_Functions::SetSyncMLSettings.