Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SxRadioEvents Class Reference
Radio driver callback functions. More...
#include <SxRadioEvents.h>
Inherited by Link, and Mac.
Public Member Functions | |
virtual void | TxStart (void) |
Tx Start callback prototype. | |
virtual void | TxDone (void) |
Tx Done callback prototype. | |
virtual void | TxTimeout (void) |
Tx Timeout callback prototype. | |
virtual void | RxDone (uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr) |
Rx Done callback prototype. | |
virtual void | RxTimeout (void) |
Rx Timeout callback prototype. | |
virtual void | RxError (void) |
Rx Error callback prototype. | |
virtual void | FhssChangeChannel (uint8_t currentChannel) |
FHSS Change Channel callback prototype. | |
virtual void | CadDone (bool channelActivityDetected) |
CAD Done callback prototype. | |
virtual void | MacEvent (void) |
Mac Event callback prototype. |
Detailed Description
Radio driver callback functions.
Definition at line 21 of file SxRadioEvents.h.
Member Function Documentation
virtual void CadDone | ( | bool | channelActivityDetected ) | [virtual] |
CAD Done callback prototype.
- Parameters:
-
[IN] channelActivityDetected Channel Activity detected during the CAD
Definition at line 66 of file SxRadioEvents.h.
virtual void FhssChangeChannel | ( | uint8_t | currentChannel ) | [virtual] |
FHSS Change Channel callback prototype.
- Parameters:
-
[IN] currentChannel Index number of the current channel
Definition at line 60 of file SxRadioEvents.h.
virtual void MacEvent | ( | void | ) | [virtual] |
Mac Event callback prototype.
Definition at line 70 of file SxRadioEvents.h.
virtual void RxDone | ( | uint8_t * | payload, |
uint16_t | size, | ||
int16_t | rssi, | ||
int8_t | snr | ||
) | [virtual] |
Rx Done callback prototype.
- Parameters:
-
[IN] payload Received buffer pointer [IN] size Received buffer size [IN] rssi RSSI value computed while receiving the frame [dBm] [IN] snr Raw SNR value given by the radio hardware FSK : N/A ( set to 0 ) LoRa: SNR value is two's complement in 1/4 dB
Definition at line 46 of file SxRadioEvents.h.
virtual void RxError | ( | void | ) | [virtual] |
Rx Error callback prototype.
Definition at line 54 of file SxRadioEvents.h.
virtual void RxTimeout | ( | void | ) | [virtual] |
Rx Timeout callback prototype.
Definition at line 50 of file SxRadioEvents.h.
virtual void TxDone | ( | void | ) | [virtual] |
Tx Done callback prototype.
Definition at line 31 of file SxRadioEvents.h.
virtual void TxStart | ( | void | ) | [virtual] |
Tx Start callback prototype.
Definition at line 27 of file SxRadioEvents.h.
virtual void TxTimeout | ( | void | ) | [virtual] |
Tx Timeout callback prototype.
Definition at line 35 of file SxRadioEvents.h.
Generated on Tue Jul 12 2022 12:07:34 by
