Definition of event handlers for border router. More...
Data Structures | |
struct | EMBENET_BR_EventHandlers |
Structure holding embeNET Border Router stack event handlers. More... | |
Typedefs | |
typedef void(* | EMBENET_BR_OnNetworkStarted) (void) |
Called when network has successfully started. More... | |
typedef void(* | EMBENET_BR_OnNetworkStopped) (void) |
Called when network stops due to an error. More... | |
typedef void(* | EMBENET_BR_OnNodeJoined) (EMBENET_EUI64 uid) |
Called when a node joins the network. More... | |
typedef void(* | EMBENET_BR_OnNodeLeft) (EMBENET_EUI64 uid) |
Called when a node leaves the network. More... | |
typedef void(* | EMBENET_BR_OnNodeAddedToGroup) (EMBENET_GroupId groupId, EMBENET_EUI64 uid) |
Called when a node is added to a group. More... | |
typedef void(* | EMBENET_BR_OnNodeRemovedFromGroup) (EMBENET_GroupId groupId, EMBENET_EUI64 uid) |
Called when a node is removed from a group. More... | |
typedef void(* | EMBENET_BR_OnDataOnUnregisteredPort) (uint16_t port) |
Called when a UDP datagram was received on an unregistered port. More... | |
Definition of event handlers for border router.
typedef void(* EMBENET_BR_OnNetworkStarted) (void) |
Called when network has successfully started.
typedef void(* EMBENET_BR_OnNetworkStopped) (void) |
Called when network stops due to an error.
typedef void(* EMBENET_BR_OnNodeJoined) (EMBENET_EUI64 uid) |
Called when a node joins the network.
[in] | uid | UID of the joining node |
typedef void(* EMBENET_BR_OnNodeLeft) (EMBENET_EUI64 uid) |
Called when a node leaves the network.
[in] | uid | UID of the leaving node |
typedef void(* EMBENET_BR_OnNodeAddedToGroup) (EMBENET_GroupId groupId, EMBENET_EUI64 uid) |
Called when a node is added to a group.
[in] | groupId | ID of the group |
[in] | uid | UID of the node |
typedef void(* EMBENET_BR_OnNodeRemovedFromGroup) (EMBENET_GroupId groupId, EMBENET_EUI64 uid) |
Called when a node is removed from a group.
[in] | groupId | ID of the group |
[in] | uid | UID of the node |
typedef void(* EMBENET_BR_OnDataOnUnregisteredPort) (uint16_t port) |
Called when a UDP datagram was received on an unregistered port.
[in] | port | port number. |