Basic MAC data interface for LoRa transceiver

Dependencies:   L2Frame crc

Dependents:   LoRaBaseStation LoRaTerminal

Revision:
37:9e895f3ffd41
Parent:
36:09c105fe77c0
Child:
38:e7b679acf524
diff -r 09c105fe77c0 -r 9e895f3ffd41 AlohaTransceiver.cpp
--- a/AlohaTransceiver.cpp	Sun Sep 04 03:18:17 2016 +0000
+++ b/AlohaTransceiver.cpp	Tue Sep 06 03:10:31 2016 +0000
@@ -205,8 +205,9 @@
                         {
                             setAckedFlag(src_addr);
                         }
+#ifdef DEBUG_ALOHA
                         printf("frame_seqid: %d, local_seqid: %d\r\n", frame->getSequenceID(), seqid[frame->getSourceAddress()]);
-                        
+#endif
                     }
                 
                     // check registered callback function