Library SX1276 Pinout for DISCO_B_L072CZ-LRWAN1 Board

Fork of SX1276Lib by Semtech

Embed: (wiki syntax)

« Back to documentation index

RadioEvents_t Struct Reference

RadioEvents_t Struct Reference

Radio driver callback functions. More...

#include <radio.h>

Data Fields

void(* TxDone )(void)
 Tx Done callback prototype.
void(* TxTimeout )(void)
 Tx Timeout callback prototype.
void(* RxDone )(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr)
 Rx Done callback prototype.
void(* RxTimeout )(void)
 Rx Timeout callback prototype.
void(* RxError )(void)
 Rx Error callback prototype.
void(* FhssChangeChannel )(uint8_t currentChannel)
 FHSS Change Channel callback prototype.
void(* CadDone )(bool channelActivityDetected)
 CAD Done callback prototype.

Detailed Description

Radio driver callback functions.

Definition at line 25 of file radio.h.


Field Documentation

void( * CadDone)(bool channelActivityDetected)

CAD Done callback prototype.

Parameters:
[IN]channelDetected Channel Activity detected during the CAD

Definition at line 65 of file radio.h.

void( * FhssChangeChannel)(uint8_t currentChannel)

FHSS Change Channel callback prototype.

Parameters:
[IN]currentChannel Index number of the current channel

Definition at line 59 of file radio.h.

void( * RxDone)(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr)

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 in dB

Definition at line 45 of file radio.h.

void( * RxError)(void)

Rx Error callback prototype.

Definition at line 53 of file radio.h.

void( * RxTimeout)(void)

Rx Timeout callback prototype.

Definition at line 49 of file radio.h.

void( * TxDone)(void)

Tx Done callback prototype.

Definition at line 30 of file radio.h.

void( * TxTimeout)(void)

Tx Timeout callback prototype.

Definition at line 34 of file radio.h.