summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gatchat/gsm0710.c8
-rw-r--r--gatchat/gsm0710.h9
2 files changed, 9 insertions, 8 deletions
diff --git a/gatchat/gsm0710.c b/gatchat/gsm0710.c
index e9d128d0..8b05ed28 100644
--- a/gatchat/gsm0710.c
+++ b/gatchat/gsm0710.c
@@ -40,14 +40,6 @@
#define GSM0710_TERMINATE_BYTE1 0xC3
#define GSM0710_TERMINATE_BYTE2 0x01
-/* 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
-
/* Initialize a GSM 07.10 context, in preparation for startup */
void gsm0710_initialize(struct gsm0710_context *ctx)
{
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 */