MultiTech / Mbed 2 deprecated mDot_LoRa_CLASS_C_P2P

Dependencies:   libmDot-dev-mbed2-deprecated mbed-rtos mbed

Fork of mDot_LoRa_PEER_TO_PEER by Jason Reiss

This example will setup a peer to peer node, copy program to two dots Uplink packets will be sent every 5 seconds, however communication is half-duplex An mDot cannot receive while transmitting

This example also demonstrates asynchronous receive through libmDot using the event framework.

Received packets will be sent to the Serial port on pins 2 and 3 baud rate for serial ports is set to 115200

Files at this revision

API Documentation at this revision

Comitter:
jreiss
Date:
Wed Aug 17 18:40:06 2016 +0000
Parent:
7:30602a4a9902
Commit message:
update libmDot to 2.0.2; Remove RxBuffer delete in MacEvent RxDone which is now done within library

Changed in this revision

libmDot-dev.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 30602a4a9902 -r 3336880e91d6 libmDot-dev.lib
--- a/libmDot-dev.lib	Sat Aug 06 13:34:45 2016 +0000
+++ b/libmDot-dev.lib	Wed Aug 17 18:40:06 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/MultiTech/code/libmDot-dev/#b630e18103e5
+http://developer.mbed.org/teams/MultiTech/code/libmDot-dev/#306ffaa5d79b
diff -r 30602a4a9902 -r 3336880e91d6 main.cpp
--- a/main.cpp	Sat Aug 06 13:34:45 2016 +0000
+++ b/main.cpp	Wed Aug 17 18:40:06 2016 +0000
@@ -87,8 +87,6 @@
                     _serial.putc(info->RxBuffer[i]);
                 }
             }
-
-            delete[] info->RxBuffer;
         }
     }
 };