EnmsBrEventHandlers Struct ReferenceENMS BorderRouter API

Table of contents Table of contents

Detailed Description

Structure with user-defined callbacks that handle received information.

Data Fields

void(* onBasicNodeInfoReceived )(const EMBENET_IPV6 *senderAddr, const ENMS_BasicNodeInfo *basicNodeInfo)
 Callback that will be called when ENMS-BASIC-INFO is received.
 
void(* onServiceInfoReceived )(const EMBENET_IPV6 *senderAddr, const ENMS_ServiceInfo *serviceInfo, uint8_t serviceCount)
 Callback that will be called when ENMS-SERVICE-INFO is received.
 
void(* onStatusReceived )(const EMBENET_IPV6 *senderAddr, const ENMS_StatusInfo *status, const uint16_t *groups, size_t groupsCount)
 Callback that will be called when ENMS-STATUS is received.
 
void(* onNeighborhoodReceived )(const EMBENET_IPV6 *senderAddr, const ENMS_NeighborInfo *neighbors, size_t neighborsCount, size_t packetNumber, size_t packetsTotal)
 Callback that will be called when ENMS-NEIGHBORHOOD is received.
 
void(* onCellsReceived )(const EMBENET_IPV6 *senderAddr, const ENMS_CellInfo *cellInfo, size_t cellsCount, size_t packetNumber, size_t packetsTotal)
 Callback that will be called when ENMS-CELLS is received.
 

Field Documentation

◆ onBasicNodeInfoReceived

void(* EnmsBrEventHandlers::onBasicNodeInfoReceived) (const EMBENET_IPV6 *senderAddr, const ENMS_BasicNodeInfo *basicNodeInfo)

Callback that will be called when ENMS-BASIC-INFO is received.

◆ onServiceInfoReceived

void(* EnmsBrEventHandlers::onServiceInfoReceived) (const EMBENET_IPV6 *senderAddr, const ENMS_ServiceInfo *serviceInfo, uint8_t serviceCount)

Callback that will be called when ENMS-SERVICE-INFO is received.

◆ onStatusReceived

void(* EnmsBrEventHandlers::onStatusReceived) (const EMBENET_IPV6 *senderAddr, const ENMS_StatusInfo *status, const uint16_t *groups, size_t groupsCount)

Callback that will be called when ENMS-STATUS is received.

◆ onNeighborhoodReceived

void(* EnmsBrEventHandlers::onNeighborhoodReceived) (const EMBENET_IPV6 *senderAddr, const ENMS_NeighborInfo *neighbors, size_t neighborsCount, size_t packetNumber, size_t packetsTotal)

Callback that will be called when ENMS-NEIGHBORHOOD is received.

◆ onCellsReceived

void(* EnmsBrEventHandlers::onCellsReceived) (const EMBENET_IPV6 *senderAddr, const ENMS_CellInfo *cellInfo, size_t cellsCount, size_t packetNumber, size_t packetsTotal)

Callback that will be called when ENMS-CELLS is received.


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