Gammu internals
1.38.0
|
#include <string.h>
#include <ctype.h>
#include <gammu-ringtone.h>
#include "../gsmstate.h"
#include "../misc/coding/coding.h"
#include "../misc/locales.h"
#include "../service/gsmring.h"
Go to the source code of this file.
Functions | |
GSM_Error | PHONE_GetSMSFolders (GSM_StateMachine *s UNUSED, GSM_SMSFolders *folders) |
void | GSM_CreateFirmwareNumber (GSM_StateMachine *s) |
GSM_Error | PHONE_EncodeSMSFrame (GSM_StateMachine *s, GSM_SMSMessage *SMS, unsigned char *buffer, GSM_SMSMessageLayout Layout, int *length, gboolean clear) |
GSM_Error | PHONE_Terminate (GSM_StateMachine *s) |
GSM_Error | PHONE_RTTLPlayOneNote (GSM_StateMachine *s, GSM_RingNote note, gboolean first) |
GSM_Error | PHONE_Beep (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) |
GSM_Error | NoneReply (GSM_Protocol_Message *msg UNUSED, GSM_StateMachine *s) |
Variables | |
GSM_SMSMessageLayout | PHONE_SMSDeliver |
GSM_SMSMessageLayout | PHONE_SMSSubmit |
GSM_SMSMessageLayout | PHONE_SMSStatusReport |
GSM_Error NoneReply | ( | GSM_Protocol_Message *msg | UNUSED, |
GSM_StateMachine * | s | ||
) |
Definition at line 188 of file pfunc.c.
References ERR_NONE, and smprintf().
GSM_Error PHONE_Beep | ( | GSM_StateMachine * | s | ) |
Makes phone beek using state machine interface.
Definition at line 129 of file pfunc.c.
References ERR_NONE, FALSE, GSM_Phone::Functions, _GSM_StateMachine::Phone, GSM_Phone_Functions::PlayTone, and TRUE.
GSM_Error PHONE_GetSMSFolders | ( | GSM_StateMachine *s | UNUSED, |
GSM_SMSFolders * | folders | ||
) |
Definition at line 38 of file pfunc.c.
References _, EncodeUnicode(), ERR_NONE, FALSE, GSM_SMSFolders::Folder, GSM_OneSMSFolder::InboxFolder, MEM_SM, GSM_OneSMSFolder::Memory, GSM_OneSMSFolder::Name, GSM_SMSFolders::Number, GSM_OneSMSFolder::OutboxFolder, and TRUE.
Referenced by DUMMY_GetSMSFolders().
GSM_Error PHONE_RTTLPlayOneNote | ( | GSM_StateMachine * | s, |
GSM_RingNote | note, | ||
gboolean | first | ||
) |
Play one note using state machine interface.
Definition at line 94 of file pfunc.c.
References ContinuousStyle, ERR_NONE, FALSE, GSM_Phone::Functions, GSM_RingNoteGetFrequency(), GSM_RingNoteGetFullDuration(), INVALIDStyle, NaturalStyle, _GSM_StateMachine::Phone, GSM_Phone_Functions::PlayTone, StaccatoStyle, GSM_RingNote::Style, and GSM_RingNote::Tempo.