Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
LoRaWAN downlink callback parameters. More...
#include <lorawan.h>
Data Fields | |
uint16_t | port |
Port to handle messages for. | |
void(* | cb )(uint8_t port, bool data_pending, int16_t rssi, int8_t snr, uint8_t len, const uint8_t *data) |
Callback function to run on downlink data. | |
sys_snode_t | node |
Node for callback list. | |
LoRaWAN downlink callback parameters.
void(* lorawan_downlink_cb::cb) (uint8_t port, bool data_pending, int16_t rssi, int8_t snr, uint8_t len, const uint8_t *data) |
Callback function to run on downlink data.
port | Port message was sent on |
data_pending | Network server has more downlink packets pending |
rssi | Received signal strength in dBm |
snr | Signal to Noise ratio in dBm |
len | Length of data received, will be 0 for ACKs |
data | Data received, will be NULL for ACKs |
sys_snode_t lorawan_downlink_cb::node |
Node for callback list.
uint16_t lorawan_downlink_cb::port |
Port to handle messages for.