Matteus Car / Lora_SX1272_serial

Dependencies:   pulga-lorawan-drv PingPong-P2P-ClickButtonToWork-SX1272

Revision:
7:37dc9ce68914
Child:
10:f6ff8ec221ec
diff -r c305f2aa79a4 -r 37dc9ce68914 serial.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/serial.h	Fri Mar 19 20:26:32 2021 +0000
@@ -0,0 +1,19 @@
+#ifndef _SERIAL_H_
+#define _SERIAL_H_
+
+#include "mbed.h"
+#include "lora.h"
+
+#define CMD_SEND_HELLO 'h'
+#define CMD_SEND_LORA_P2P 'p'
+extern RawSerial pc;
+
+extern void SerialRx(void);
+
+extern bool SerialCommandRun(const char *msg);
+
+extern void serial_post_to_queue(void);
+
+extern void PrintDebugMsg(char *msg);
+
+#endif