Gammu internals
1.38.0
protocol.h
Go to the documentation of this file.
1
/* (c) 2002-2003 by Marcin Wiacek */
2
3
#ifndef protocol_common_h
4
#define protocol_common_h
5
6
typedef
enum
{
7
RX_Sync
,
8
RX_GetDestination
,
9
RX_GetSource
,
10
RX_GetType
,
11
RX_GetLength1
,
12
RX_GetLength2
,
13
RX_GetMessage
14
}
GSM_Protocol_RXState
;
15
16
typedef
struct
{
17
size_t
Length
;
18
size_t
Count
;
19
int
Type
;
20
unsigned
char
Source
;
21
unsigned
char
Destination
;
22
unsigned
char
*
Buffer
;
23
size_t
BufferUsed
;
24
unsigned
char
CheckSum[2];
25
}
GSM_Protocol_Message
;
26
27
#endif
28
29
/* How should editor hadle tabs in this file? Add editor commands here.
30
* vim: noexpandtab sw=8 ts=8 sts=8:
31
*/
GSM_Protocol_Message::Source
unsigned char Source
Definition:
protocol.h:20
RX_GetMessage
Definition:
protocol.h:13
RX_GetLength2
Definition:
protocol.h:12
RX_GetType
Definition:
protocol.h:10
GSM_Protocol_RXState
GSM_Protocol_RXState
Definition:
protocol.h:6
GSM_Protocol_Message::Destination
unsigned char Destination
Definition:
protocol.h:21
GSM_Protocol_Message::Length
size_t Length
Definition:
protocol.h:17
GSM_Protocol_Message::Count
size_t Count
Definition:
protocol.h:18
GSM_Protocol_Message
Definition:
protocol.h:16
RX_GetSource
Definition:
protocol.h:9
RX_GetLength1
Definition:
protocol.h:11
RX_GetDestination
Definition:
protocol.h:8
GSM_Protocol_Message::BufferUsed
size_t BufferUsed
Definition:
protocol.h:23
RX_Sync
Definition:
protocol.h:7
GSM_Protocol_Message::Buffer
unsigned char * Buffer
Definition:
protocol.h:22
GSM_Protocol_Message::Type
int Type
Definition:
protocol.h:19
libgammu
protocol
protocol.h
Generated on Wed Nov 16 2016 13:39:20 for Gammu internals by
1.8.12