Basic MAC data interface for LoRa transceiver
Dependents: LoRaBaseStation LoRaTerminal
Diff: AlohaTransceiver.cpp
- Revision:
- 38:e7b679acf524
- Parent:
- 37:9e895f3ffd41
- Child:
- 39:0da3ee6a297d
--- a/AlohaTransceiver.cpp Tue Sep 06 03:10:31 2016 +0000 +++ b/AlohaTransceiver.cpp Wed Sep 14 06:36:24 2016 +0000 @@ -5,7 +5,7 @@ #include "AlohaFrame.h" #include "RingBuffer.h" -#define ALLOW_CALLBACK_DEBUG 0 +#define ALLOW_CALLBACK_DEBUG 1 #define SET_FLAG(t, x) (t) |= 1 << (x) #define CLEAR_FLAG(t, x) (t) &= ~(1 << (x)) @@ -561,7 +561,7 @@ State = RX; #ifdef DEBUG_ALOHA - debug_if(ALLOW_CALLBACK_DEBUG, "> OnRxDone\n\r" ); + debug_if(ALLOW_CALLBACK_DEBUG, "> OnRxDone, RSSI=%d, SNR=%d\n\r", rssi, snr ); #endif }