Basic MAC data interface for LoRa transceiver

Dependencies:   L2Frame crc

Dependents:   LoRaBaseStation LoRaTerminal

Revision:
15:0dc9df48687a
Parent:
11:3e1ff29da71a
Child:
17:c6e2e2cd6e5f
diff -r 0dc101ec38c6 -r 0dc9df48687a AlohaTransceiver.cpp
--- a/AlohaTransceiver.cpp	Fri Jul 29 04:56:22 2016 +0000
+++ b/AlohaTransceiver.cpp	Fri Aug 05 03:07:43 2016 +0000
@@ -2,6 +2,7 @@
 #include "mbed.h"
 #include "radio.h"
 #include "AlohaFrame.h"
+#include "RingBuffer.h"
 
 // declear the type of radio state
 typedef enum
@@ -205,6 +206,11 @@
     State = LOWPOWER;
 }
 
+void AlohaTransceiver::send(AlohaFrame *frame)
+{
+       
+}
+
 void AlohaTransceiver::registerType(AlohaFrame::AlohaType_t type, aloha_callback_func f)
 {
     AlohaTypeCallbackTable[type] = f;