Mistake on this page?
Report an issue in GitHub or email us
Data Fields
radio_events Struct Reference

#include <LoRaRadio.h>

Data Fields

mbed::Callback< void()> tx_done
 
mbed::Callback< void()> tx_timeout
 
mbed::Callback< void(const uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr)> rx_done
 
mbed::Callback< void()> rx_timeout
 
mbed::Callback< void()> rx_error
 
mbed::Callback< void(uint8_t current_channel)> fhss_change_channel
 
mbed::Callback< void(bool channel_busy)> cad_done
 

Detailed Description

Radio driver callback functions.

Field Documentation

mbed::Callback<void(bool channel_busy)> radio_events::cad_done

CAD Done callback prototype.

Parameters
channel_busyTrue, if Channel activity detected.
mbed::Callback<void(uint8_t current_channel)> radio_events::fhss_change_channel

FHSS Change Channel callback prototype.

Parameters
current_channelThe index number of the current channel.
mbed::Callback<void(const uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr)> radio_events::rx_done

Rx Done callback prototype.

Parameters
payloadReceived buffer pointer.
sizeReceived buffer size.
rssiRSSI value computed while receiving the frame [dBm].
snrRaw SNR value given by the radio hardware. FSK : N/A (set to 0) LoRa: SNR value in dB
mbed::Callback<void()> radio_events::rx_error

Callback when Reception ends up in error

mbed::Callback<void()> radio_events::rx_timeout

Callback when Reception is timed out

mbed::Callback<void()> radio_events::tx_done

Callback when Transmission is done

mbed::Callback<void()> radio_events::tx_timeout

Callback when Transmission is timed out


The documentation for this struct was generated from the following file:
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.