26#ifndef ZIGPC_NET_MGMT_NOTIFY_H
27#define ZIGPC_NET_MGMT_NOTIFY_H
39#define ZIGPC_NET_MGMT_REQUESTED_STATE_PARAMS_MAX 10
uint32_t sl_status_t
Definition: sl_status.h:139
void(* zigpc_observer_callback_t)(void *data)
Observer callback that is called by subjects when notifying observers of new events.
Definition: zigpc_common_observable.h:136
uint8_t zigbee_eui64_t[ZIGBEE_EUI64_SIZE]
Zigbee Device EUI64 ID.
Definition: zigpc_common_zigbee.h:193
sl_status_t zigpc_net_mgmt_unregister_observer(enum zigpc_net_mgmt_notify_event event, zigpc_observer_callback_t callback)
Unregister observer from Net Mgmt updates If the observer is not found, nothing will be done.
Definition: zigpc_net_mgmt_notify.c:43
zigpc_net_mgmt_notify_event
Notify event types.
Definition: zigpc_net_mgmt_notify.h:45
#define ZIGPC_NET_MGMT_REQUESTED_STATE_PARAMS_MAX
Definition: zigpc_net_mgmt_notify.h:39
struct zigpc_net_mgmt_on_node_added zigpc_net_mgmt_on_node_added_t
Event data on node added to the network.
struct zigpc_net_mgmt_on_network_state_update zigpc_net_mgmt_on_network_state_update_t
Event data on network state update. These fields will be used to publish the new state as well as any...
struct zigpc_net_mgmt_on_network_init zigpc_net_mgmt_on_network_init_t
Event data on network state update.
sl_status_t zigpc_net_mgmt_register_observer(enum zigpc_net_mgmt_notify_event event, zigpc_observer_callback_t callback)
Register observer to be informed of Net Mgmt updates If the observer is already registered,...
Definition: zigpc_net_mgmt_notify.c:37
@ ZIGPC_NET_MGMT_NOTIFY_STATE_UPDATE
Definition: zigpc_net_mgmt_notify.h:47
@ ZIGPC_NET_MGMT_NOTIFY_NETWORK_INIT
Definition: zigpc_net_mgmt_notify.h:46
@ ZIGPC_NET_MGMT_NOTIFY_MAX
Definition: zigpc_net_mgmt_notify.h:51
@ ZIGPC_NET_MGMT_NOTIFY_NODE_REMOVED
Definition: zigpc_net_mgmt_notify.h:50
@ ZIGPC_NET_MGMT_NOTIFY_NODE_INTERVIEW_STATUS
Definition: zigpc_net_mgmt_notify.h:49
@ ZIGPC_NET_MGMT_NOTIFY_NODE_ADDED
Definition: zigpc_net_mgmt_notify.h:48
zigpc_net_mgmt_fsm_state
Network Management FSM States.
Definition: zigpc_net_mgmt.h:41
@ ZIGPC_NET_MGMT_FSM_STATE_MAX_VAL
Definition: zigpc_net_mgmt.h:49
Event data on network state update.
Definition: zigpc_net_mgmt_notify.h:58
zigbee_eui64_t pc_eui64
Definition: zigpc_net_mgmt_notify.h:59
Event data on network state update. These fields will be used to publish the new state as well as any...
Definition: zigpc_net_mgmt_notify.h:68
uint8_t requested_state_parameter_count
Definition: zigpc_net_mgmt_notify.h:92
uint8_t next_supported_states_count
Definition: zigpc_net_mgmt_notify.h:82
enum zigpc_net_mgmt_fsm_state new_state
The new network management state.
Definition: zigpc_net_mgmt_notify.h:73
enum zigpc_net_mgmt_fsm_state next_supported_states_list[ZIGPC_NET_MGMT_FSM_STATE_MAX_VAL]
The next possible states in network management based on the new state that is supplied.
Definition: zigpc_net_mgmt_notify.h:80
const char * requested_state_parameter_list[ZIGPC_NET_MGMT_REQUESTED_STATE_PARAMS_MAX]
List of requested state parameters needed to perform network management action (add node,...
Definition: zigpc_net_mgmt_notify.h:91
Event data on node added to the network.
Definition: zigpc_net_mgmt_notify.h:99
zigbee_eui64_t eui64
Definition: zigpc_net_mgmt_notify.h:100
Definition: zigpc_net_mgmt_notify.h:103
bool success
Definition: zigpc_net_mgmt_notify.h:104
zigbee_eui64_t eui64
Definition: zigpc_net_mgmt_notify.h:105
Event data on node removed from the network.
Definition: zigpc_net_mgmt_notify.h:112
zigbee_eui64_t eui64
Definition: zigpc_net_mgmt_notify.h:113