ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
GatewayNs Struct Reference

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 *)
 

Detailed Description

Dispatch table. Addressed by offset, so the layout is asserted below.

Definition at line 111 of file gateway.h.

Member Data Documentation

◆ reset

void(* GatewayNs::reset) (uint8_t *)

Definition at line 113 of file gateway.h.

◆ add_port

proto_bool(* GatewayNs::add_port) (uint8_t *, const protocore_gateway_port_config *)

Definition at line 114 of file gateway.h.

◆ set_uplink_cb

void(* GatewayNs::set_uplink_cb) (uint8_t *, protocore_gateway_uplink_fn, void *)

Definition at line 115 of file gateway.h.

◆ set_topic_prefix

void(* GatewayNs::set_topic_prefix) (uint8_t *, const char *)

Definition at line 116 of file gateway.h.

◆ uplink

proto_bool(* GatewayNs::uplink) (uint8_t *, uint8_t, uint16_t, const uint8_t *, uint16_t, int16_t)

Definition at line 117 of file gateway.h.

◆ downlink

proto_bool(* GatewayNs::downlink) (uint8_t *, uint8_t, uint16_t, const uint8_t *, uint16_t)

Definition at line 118 of file gateway.h.

◆ topic

uint16_t(* GatewayNs::topic) (uint8_t *, const protocore_gateway_msg *, char *, uint16_t)

Definition at line 119 of file gateway.h.

◆ get_stats

void(* GatewayNs::get_stats) (uint8_t *, protocore_gateway_stats *)

Definition at line 120 of file gateway.h.


The documentation for this struct was generated from the following file: