|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Dispatch table. Addressed by offset, so the layout is asserted below. More...
#include <gateway.h>
Public Attributes | |
| void(* | reset )(uint8_t *) |
| proto_bool(* | add_port )(uint8_t *, const protocore_gateway_port_config *) |
| void(* | set_uplink_cb )(uint8_t *, protocore_gateway_uplink_fn, void *) |
| void(* | set_topic_prefix )(uint8_t *, const char *) |
| proto_bool(* | uplink )(uint8_t *, uint8_t, uint16_t, const uint8_t *, uint16_t, int16_t) |
| proto_bool(* | downlink )(uint8_t *, uint8_t, uint16_t, const uint8_t *, uint16_t) |
| uint16_t(* | topic )(uint8_t *, const protocore_gateway_msg *, char *, uint16_t) |
| void(* | get_stats )(uint8_t *, protocore_gateway_stats *) |
Dispatch table. Addressed by offset, so the layout is asserted below.
| proto_bool(* GatewayNs::add_port) (uint8_t *, const protocore_gateway_port_config *) |
| void(* GatewayNs::set_uplink_cb) (uint8_t *, protocore_gateway_uplink_fn, void *) |
| void(* GatewayNs::set_topic_prefix) (uint8_t *, const char *) |
| proto_bool(* GatewayNs::uplink) (uint8_t *, uint8_t, uint16_t, const uint8_t *, uint16_t, int16_t) |
| proto_bool(* GatewayNs::downlink) (uint8_t *, uint8_t, uint16_t, const uint8_t *, uint16_t) |
| uint16_t(* GatewayNs::topic) (uint8_t *, const protocore_gateway_msg *, char *, uint16_t) |
| void(* GatewayNs::get_stats) (uint8_t *, protocore_gateway_stats *) |