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
Diff: SxRadio.h
- Revision:
- 68:5f787643e7d7
- Parent:
- 65:acc0468b9aec
- Child:
- 69:e22889c7eaa9
--- a/SxRadio.h Wed May 01 09:18:46 2019 -0500 +++ b/SxRadio.h Thu Aug 29 08:32:27 2019 -0500 @@ -16,7 +16,6 @@ #define __SXRADIO_H__ #include <stdint.h> -#include "rtos.h" #include "SxRadioEvents.h" /*! @@ -43,6 +42,7 @@ 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, uint8_t datarate, int16_t rssiThresh, uint8_t bandwidth, uint32_t timeout = 5000, int16_t *rssiVal = NULL ) = 0; + virtual bool IsChannelFree( RadioModems_t modem, uint32_t freq, int16_t rssiThresh, uint32_t timeout = 5000, int16_t *rssiVal = NULL ) = 0; /*! * \brief Generates a 32 bits random value based on the RSSI readings *