The Modified Dot Library for SX1272

This version has been restoring as initial changes.

Verify the following dependencies:

Mbed-os 5.11 libmdot 3.2.0 for Mbed OS5.11

Revision:
69:e22889c7eaa9
Parent:
68:5f787643e7d7
Child:
70:0c5b5b02d17b
--- a/SxRadio.h	Thu Aug 29 08:32:27 2019 -0500
+++ b/SxRadio.h	Thu Aug 29 12:21:51 2019 -0500
@@ -16,6 +16,7 @@
 #define __SXRADIO_H__
 
 #include <stdint.h>
+#include "rtos.h"
 #include "SxRadioEvents.h"
 
 /*!
@@ -42,7 +43,6 @@
         RF_RX_RUNNING,
         RF_TX_RUNNING,
         RF_CAD,
-        RF_LBT
     }RadioState_t;
 
     SxRadio(uint32_t WakeupTime) : WakeupTime(WakeupTime), freq_offset(0), State(RF_IDLE), Modem(MODEM_LORA) { }
@@ -87,7 +87,7 @@
      *
      * \retval isFree         [true: Channel is free, false: Channel is not free]
      */
-    virtual bool IsChannelFree( RadioModems_t modem, uint32_t freq, int16_t rssiThresh, uint32_t timeout = 5000, int16_t *rssiVal = NULL ) = 0;
+    virtual bool IsChannelFree( RadioModems_t modem, uint32_t freq, uint8_t datarate, int16_t rssiThresh, uint8_t bandwidth, uint32_t timeout = 5000, int16_t *rssiVal = NULL ) = 0;
     /*!
      * \brief Generates a 32 bits random value based on the RSSI readings
      *