aboutsummaryrefslogtreecommitdiff
path: root/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.h')
-rw-r--r--protocol.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/protocol.h b/protocol.h
index d4f7b2a..574537b 100644
--- a/protocol.h
+++ b/protocol.h
@@ -1,5 +1,15 @@
#include <stdint.h> // Provides uint8_t, int8_t, etc.
+#define HELLO 0
+#define SETSTATION 1
+#define WELCOME 2
+#define ANNOUNCE 3
+#define INVALID 4
+
+#define LISTSTATIONS 5
+#define STATIONINFO 6
+
+
// client to server messages (commands)
struct Hello {