Peer to Peer example

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

Revision:
8:3336880e91d6
Parent:
7:30602a4a9902
--- 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;
         }
     }
 };