summaryrefslogtreecommitdiff
path: root/gatchat/gsm0710.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-09-08 08:26:48 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-09-08 08:26:48 +0200
commit3a0518ec2761825d642ef17bb45e2befa84c7d14 (patch)
tree5b95b63284c60fec6de875a53a555a8236e855a1 /gatchat/gsm0710.h
parent2ee7f4a6f8333528f6645d4bcfcc08f58879b2b9 (diff)
downloadofono-3a0518ec2761825d642ef17bb45e2befa84c7d14.tar.gz
Export the GSM 07.10 status flags
Diffstat (limited to 'gatchat/gsm0710.h')
-rw-r--r--gatchat/gsm0710.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gatchat/gsm0710.h b/gatchat/gsm0710.h
index e94ff5ab..e8255183 100644
--- a/gatchat/gsm0710.h
+++ b/gatchat/gsm0710.h
@@ -31,9 +31,18 @@ extern "C" {
#define GSM0710_DEFAULT_FRAME_SIZE 31
#define GSM0710_MAX_CHANNELS 63
+/* Multiplexer modes */
#define GSM0710_MODE_BASIC 0
#define GSM0710_MODE_ADVANCED 1
+/* Status flags */
+#define GSM0710_FC 0x02
+#define GSM0710_DTR 0x04
+#define GSM0710_DSR 0x04
+#define GSM0710_RTS 0x08
+#define GSM0710_CTS 0x08
+#define GSM0710_DCD 0x80
+
struct gsm0710_context
{
/* GSM 07.10 implementation details */