Zigbee Protocol Controller 1.6.0
zigpc_net_mgmt.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
25#ifndef ZIGPC_NET_MGMT_H
26#define ZIGPC_NET_MGMT_H
27
28/* From shared components */
29#include "sl_status.h"
30
31/* From Zigbee types */
32#include "zigpc_common_zigbee.h"
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
48
51
58typedef struct {
65
76
87 const zigbee_install_code_t install_code,
88 const uint8_t install_code_length,
89 bool is_well_known_key_add);
90
104
119
120#ifdef __cplusplus
121}
122#endif
123
124#endif /* ZIGPC_NET_MGMT_H */
125
uint32_t sl_status_t
Definition: sl_status.h:139
uint8_t zigbee_eui64_t[ZIGBEE_EUI64_SIZE]
Zigbee Device EUI64 ID.
Definition: zigpc_common_zigbee.h:193
uint8_t zigbee_install_code_t[ZIGBEE_INSTALL_CODE_LENGTH]
Zigbee 3.0 Install Code.
Definition: zigpc_common_zigbee.h:206
zigpc_net_mgmt_fsm_state
Network Management FSM States.
Definition: zigpc_net_mgmt.h:41
sl_status_t zigpc_netmgmt_network_permit_joins(bool enable)
Request to enable/disable permitting Zigbee devices to join the network.
Definition: zigpc_net_mgmt.c:65
sl_status_t zigpc_net_mgmt_remove_node(const zigbee_eui64_t eui64)
Request to remove a node already on the network. This request can only be fullfilled if the FSM is in...
Definition: zigpc_net_mgmt.c:114
sl_status_t zigpc_net_mgmt_state_change_request(const zigpc_net_mgmt_state_change_request_t *request)
Request a state change request external to Protocol Controller. This request is usually sent by the U...
Definition: zigpc_net_mgmt.c:122
sl_status_t zigpc_net_mgmt_add_node(const zigbee_eui64_t node_eui64, const zigbee_install_code_t install_code, const uint8_t install_code_length, bool is_well_known_key_add)
Request to add a new end device to the Zigbee PAN.
Definition: zigpc_net_mgmt.c:90
enum zigpc_net_mgmt_fsm_state zigpc_net_mgmt_fsm_state_t
Network Management FSM States.
@ ZIGPC_NET_MGMT_FSM_STATE_MAX_VAL
Definition: zigpc_net_mgmt.h:49
@ ZIGPC_NET_MGMT_FSM_STATE_IDLE
Definition: zigpc_net_mgmt.h:44
@ ZIGPC_NET_MGMT_FSM_STATE_MIN_VAL
Definition: zigpc_net_mgmt.h:42
@ ZIGPC_NET_MGMT_FSM_STATE_NODE_INTERVIEW
Definition: zigpc_net_mgmt.h:47
@ ZIGPC_NET_MGMT_FSM_STATE_NODE_REMOVE
Definition: zigpc_net_mgmt.h:46
@ ZIGPC_NET_MGMT_FSM_STATE_NODE_ADD
Definition: zigpc_net_mgmt.h:45
@ ZIGPC_NET_MGMT_FSM_STATE_INIT
Definition: zigpc_net_mgmt.h:43
SL Status Codes.
Container for state change request for the ZigPC Network Management FSM. Depending on the state reque...
Definition: zigpc_net_mgmt.h:58
bool param_eui64_filled
Definition: zigpc_net_mgmt.h:60
unsigned int param_install_code_length
Definition: zigpc_net_mgmt.h:63
zigbee_install_code_t param_install_code
Definition: zigpc_net_mgmt.h:62
enum zigpc_net_mgmt_fsm_state requested_state
Definition: zigpc_net_mgmt.h:59
zigbee_eui64_t param_eui64
Definition: zigpc_net_mgmt.h:61