Gammu internals
1.38.0
|
#include <gsmstate.h>
Data Fields | |
GSM_Error(* | WriteMessage )(GSM_StateMachine *s, unsigned const char *buffer, int length, int type) |
GSM_Error(* | StateMachine )(GSM_StateMachine *s, unsigned char rx_char) |
GSM_Error(* | Initialise )(GSM_StateMachine *s) |
GSM_Error(* | Terminate )(GSM_StateMachine *s) |
Protocol functions, each protocol has to implement these.
Definition at line 343 of file gsmstate.h.
GSM_Error(* GSM_Protocol_Functions::Initialise) (GSM_StateMachine *s) |
Protocol initialisation.
Definition at line 356 of file gsmstate.h.
Referenced by GSM_OpenConnection().
GSM_Error(* GSM_Protocol_Functions::StateMachine) (GSM_StateMachine *s, unsigned char rx_char) |
This one is called when character is received from device.
Definition at line 352 of file gsmstate.h.
Referenced by GSM_ReadDevice().
GSM_Error(* GSM_Protocol_Functions::Terminate) (GSM_StateMachine *s) |
Protocol termination.
Definition at line 360 of file gsmstate.h.
Referenced by GSM_CloseConnection().
GSM_Error(* GSM_Protocol_Functions::WriteMessage) (GSM_StateMachine *s, unsigned const char *buffer, int length, int type) |
Writes message to device.
Definition at line 347 of file gsmstate.h.
Referenced by GSM_WaitFor(), and NOKIA_EncodeDateTime().