summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/protocol/at/at.h
blob: e200646cb1f46af8280e669d724c7c353d452a53 (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
/* (c) 2002-2003 by Marcin Wiacek and Michal Cihar */

#ifndef at_h
#define at_h

#include "../protocol.h"

typedef struct {
	GSM_Protocol_Message 	Msg;
	bool 			wascrlf;
	int			LineStart,LineEnd;
	int			SpecialAnswerLines,SpecialAnswerStart;

	bool			EditMode;	/* wait for modem answer or not */
	bool			FastWrite;
} 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:
 */