A northbound message: a southbound frame enveloped with its routing metadata. payload points at the caller's bytes and is valid only for the duration of the uplink callback - copy what you publish asynchronously.
More...
#include <gateway.h>
|
| const uint8_t * | payload |
| | frame payload bytes
|
| |
| uint32_t | seq |
| | per-gateway uplink sequence (wraps)
|
| |
| uint16_t | len |
| | payload length
|
| |
| uint16_t | src_addr |
| | source node address on the radio
|
| |
| int16_t | rssi |
| | received signal strength (0 if the driver has none)
|
| |
| uint8_t | port_id |
| | the port the frame arrived on
|
| |
| protocore_gateway_kind | kind |
| | protocore_gateway_kind of that port
|
| |
A northbound message: a southbound frame enveloped with its routing metadata. payload points at the caller's bytes and is valid only for the duration of the uplink callback - copy what you publish asynchronously.
Definition at line 65 of file gateway.h.
◆ payload
| const uint8_t* protocore_gateway_msg::payload |
frame payload bytes
Definition at line 67 of file gateway.h.
◆ seq
| uint32_t protocore_gateway_msg::seq |
per-gateway uplink sequence (wraps)
Definition at line 68 of file gateway.h.
◆ len
| uint16_t protocore_gateway_msg::len |
payload length
Definition at line 69 of file gateway.h.
◆ src_addr
| uint16_t protocore_gateway_msg::src_addr |
source node address on the radio
Definition at line 70 of file gateway.h.
◆ rssi
| int16_t protocore_gateway_msg::rssi |
received signal strength (0 if the driver has none)
Definition at line 71 of file gateway.h.
◆ port_id
| uint8_t protocore_gateway_msg::port_id |
the port the frame arrived on
Definition at line 72 of file gateway.h.
◆ kind
protocore_gateway_kind of that port
Definition at line 73 of file gateway.h.
The documentation for this struct was generated from the following file: