blob: 606d76f2d1500173d61c8ad578dbdb0b1c122866 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/* (c) 2002-2003 by Marcin Wiacek and Michal Cihar */
#ifndef at_h
#define at_h
#include "../protocol.h"
GSM_Error AT_StateMachine(GSM_StateMachine *s, unsigned char rx_char);
GSM_Error AT_Initialise(GSM_StateMachine *s);
typedef struct {
GSM_Protocol_Message Msg;
gboolean wascrlf;
size_t LineStart, LineEnd;
size_t SpecialAnswerLines, SpecialAnswerStart;
gboolean EditMode; /* wait for modem answer or not */
gboolean FastWrite;
/**
* CPIN reply does not end with OK/ERROR.
*/
gboolean CPINNoOK;
} GSM_Protocol_ATData;
#ifndef GSM_USED_SERIALDEVICE
# define GSM_USED_SERIALDEVICE
#endif
#if defined(GSM_ENABLE_BLUEAT)
# ifndef GSM_USED_BLUETOOTHDEVICE
# define GSM_USED_BLUETOOTHDEVICE
# endif
#endif
#if defined(GSM_ENABLE_IRDAAT)
# ifndef GSM_USED_IRDADEVICE
# define GSM_USED_IRDADEVICE
# endif
#endif
#endif
/* How should editor hadle tabs in this file? Add editor commands here.
* vim: noexpandtab sw=8 ts=8 sts=8:
*/
|