Basic MAC data interface for LoRa transceiver

Dependencies:   L2Frame crc

Dependents:   LoRaBaseStation LoRaTerminal

Revision:
2:fa264e48d5f7
Parent:
0:e2ccabf3f30c
Child:
3:47fa0a59089a
diff -r 431b04b4d2dc -r fa264e48d5f7 AlohaTransceiver.cpp
--- a/AlohaTransceiver.cpp	Thu Jul 14 04:56:18 2016 +0000
+++ b/AlohaTransceiver.cpp	Thu Jul 14 11:48:18 2016 +0000
@@ -210,6 +210,16 @@
     AlohaTypeCallbackTable[type] = NULL;
 }
 
+int16_t AlohaTransceiver::getRssi()
+{
+    return RssiValue;
+}
+
+int8_t AlohaTransceiver::getSnr()
+{
+    return SnrValue;
+}
+
 void OnTxDone( void )
 {
     Radio.Sleep( );