Southbound port (radio / bus) configuration passed to protocore_gateway_add_port().
More...
#include <gateway.h>
|
| uint8_t | port_id |
| | caller-assigned id (used in topics and up/down-link calls).
|
| protocore_gateway_kind | kind |
| | protocore_gateway_kind.
|
| protocore_gateway_tx_fn | tx |
| | downlink transmit (may be null for a receive-only port).
|
| void * | ctx |
| | opaque, forwarded to tx.
|
| uint16_t | rate_cap |
| | max uplink frames/second from this port (0 = unlimited).
|
Southbound port (radio / bus) configuration passed to protocore_gateway_add_port().
Definition at line 78 of file gateway.h.
◆ port_id
| uint8_t protocore_gateway_port_config::port_id |
caller-assigned id (used in topics and up/down-link calls).
Definition at line 80 of file gateway.h.
◆ kind
| protocore_gateway_kind protocore_gateway_port_config::kind |
protocore_gateway_kind.
Definition at line 81 of file gateway.h.
◆ tx
downlink transmit (may be null for a receive-only port).
Definition at line 82 of file gateway.h.
◆ ctx
| void* protocore_gateway_port_config::ctx |
opaque, forwarded to tx.
Definition at line 83 of file gateway.h.
◆ rate_cap
| uint16_t protocore_gateway_port_config::rate_cap |
max uplink frames/second from this port (0 = unlimited).
Definition at line 84 of file gateway.h.
The documentation for this struct was generated from the following file: