LoRa node acquiring analog input and sending to LoRa Server - Working ok
Dependents: DISCO-L072CZ-LRWAN1_LoRa_node EIoT_LoRa_node_1 EIoT_LoRa_node_2 EIoT_LoRa_node_3
Fork of SX1276GenericLib by
Diff: radio/radio.h
- Revision:
- 11:ce0cdab5137a
- Parent:
- 7:2b555111463f
- Child:
- 13:618826a997e2
diff -r b420e9c3d6fe -r ce0cdab5137a radio/radio.h --- a/radio/radio.h Fri Sep 26 12:59:57 2014 +0000 +++ b/radio/radio.h Mon Oct 13 07:06:55 2014 +0000 @@ -71,8 +71,10 @@ /*! * @brief CAD Done callback prototype. + * + * @param [IN] ChannelDetected Channel Activity detected during the CAD */ - void ( *cadDone ) ( ); + void ( *cadDone ) ( bool ChannelActivityDetected ); public: //------------------------------------------------------------------------- @@ -87,7 +89,7 @@ * @param [IN] rxError */ Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ), - void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( ) ); + void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ) ); virtual ~Radio( ) {}; //-------------------------------------------------------------------------