Gammu internals
1.38.0
|
Functions | |
GSM_Error | PHONE_GetSMSFolders (GSM_StateMachine *s, GSM_SMSFolders *folders) |
void | GSM_CreateFirmwareNumber (GSM_StateMachine *s) |
GSM_Error | PHONE_Terminate (GSM_StateMachine *s) |
GSM_Error | NoneReply (GSM_Protocol_Message *msg, GSM_StateMachine *s) |
GSM_Error | PHONE_FindDataFile (GSM_StateMachine *s, GSM_File *File, const char *ExtraPath, const char *filename) |
GSM_Error | PHONE_UploadFile (GSM_StateMachine *s, GSM_File *File) |
void GSM_CreateFirmwareNumber | ( | GSM_StateMachine * | s | ) |
Parses string firmware number into numeric.
Definition at line 52 of file pfunc.c.
References GSM_Phone::Data, _GSM_StateMachine::Phone, smprintf(), StringToDouble(), GSM_Phone_Data::VerNum, and GSM_Phone_Data::Version.
Referenced by DUMMY_GetFirmware(), and NOKIA_EncodeDateTime().
GSM_Error NoneReply | ( | GSM_Protocol_Message * | msg, |
GSM_StateMachine * | s | ||
) |
Generic reply function when no reply is requested.
GSM_Error PHONE_FindDataFile | ( | GSM_StateMachine * | s, |
GSM_File * | File, | ||
const char * | ExtraPath, | ||
const char * | filename | ||
) |
Definition at line 141 of file pfunc.c.
References EncodeUnicode(), ERR_MOREMEMORY, ERR_NONE, GAMMU_DATA_PATH, GSM_ReadFile(), MAX, GSM_File::Name, and smprintf().
GSM_Error PHONE_GetSMSFolders | ( | GSM_StateMachine * | s, |
GSM_SMSFolders * | folders | ||
) |
GSM_Error PHONE_Terminate | ( | GSM_StateMachine * | s | ) |
Generic function for terminating phone connection. Can be used if phone does not require any special actions.
Definition at line 79 of file pfunc.c.
References GSM_Phone::Data, GSM_Phone_Data::EnableIncomingCB, GSM_Phone_Data::EnableIncomingSMS, ERR_NONE, FALSE, GSM_Phone::Functions, _GSM_StateMachine::Phone, GSM_Phone_Functions::SetIncomingCB, GSM_Phone_Functions::SetIncomingSMS, and TRUE.
GSM_Error PHONE_UploadFile | ( | GSM_StateMachine * | s, |
GSM_File * | File | ||
) |
Definition at line 173 of file pfunc.c.
References ERR_EMPTY, ERR_NONE, and GSM_SendFilePart().