Zigbee Protocol Controller 1.6.0
|
#include <stdlib.h>
#include <string.h>
#include <sl_log.h>
#include <sl_status.h>
#include <zigpc_datastore.h>
#include <zigpc_discovery.h>
#include <zigpc_gateway.h>
#include "zigpc_net_mgmt_notify_int.h"
#include "zigpc_net_mgmt_internal.h"
Functions | |
sl_status_t | zigpc_net_mgmt_init_complete (const zigbee_eui64_t zigpc_eui64, zigbee_endpoint_id_t zigpc_endpoint_id, const zigbee_panid_t zigpc_panid, const zigbee_ext_panid_t zigpc_ext_panid, zigbee_radio_channel_t zigpc_radio_channel) |
Initialize Network Management The function expected to be called when the gateway completes setting up the network. More... | |
sl_status_t | zigpc_net_mgmt_hdl_idle_add_request (const zigbee_eui64_t eui64, const zigbee_install_code_t install_code, uint8_t install_code_length, bool is_well_known_key_add) |
zigpc_net_mgmt_hdl_idle_add_request Handle a request to add a new node to the network More... | |
sl_status_t | zigpc_net_mgmt_node_add_complete (const zigbee_eui64_t node_eui64) |
zigpc_net_mgmt_node_add_complete Callback from the gateway when a node is added More... | |
sl_status_t | zigpc_net_mgmt_publish_interview_status (const zigbee_eui64_t eui64, zigpc_discovery_status_t discovery_status) |
zigpc_net_mgmt_publish_interview_status On an response from a node interview message, publish the status More... | |
sl_status_t | zigpc_net_mgmt_hdl_idle_remove_request (const zigbee_eui64_t eui64) |
zigpc_net_mgmt_hdl_idle_remove_request Handle a request to remove a device from the network More... | |
sl_status_t | zigpc_net_mgmt_node_remove_complete (const zigbee_eui64_t eui64) |
zigpc_net_mgmt_node_remove_complete On a response from a node remove attempt More... | |
Variables | |
static const char | LOG_TAG [] = "zigpc_net_mgmt_internal" |
sl_status_t zigpc_net_mgmt_hdl_idle_add_request | ( | const zigbee_eui64_t | eui64, |
const zigbee_install_code_t | install_code, | ||
uint8_t | install_code_length, | ||
bool | is_well_known_key_add | ||
) |
zigpc_net_mgmt_hdl_idle_add_request Handle a request to add a new node to the network
eui64 | - EUI64 of the node to add |
install_code | - install code used to encrypt messages to specified device |
install_code_length | - length of install code (bytes) |
is_well_known_key_add | if True : use well known joining method, if false : use install code method |
sl_status_t zigpc_net_mgmt_hdl_idle_remove_request | ( | const zigbee_eui64_t | eui64 | ) |
zigpc_net_mgmt_hdl_idle_remove_request Handle a request to remove a device from the network
eui64 | - EUI64 of the node to remove |
sl_status_t zigpc_net_mgmt_init_complete | ( | const zigbee_eui64_t | zigpc_eui64, |
zigbee_endpoint_id_t | zigpc_endpoint_id, | ||
const zigbee_panid_t | zigpc_panid, | ||
const zigbee_ext_panid_t | zigpc_ext_panid, | ||
zigbee_radio_channel_t | zigpc_radio_channel | ||
) |
Initialize Network Management The function expected to be called when the gateway completes setting up the network.
zigpc_eui64 | - The EUI64 of the gateway radio |
zigpc_endpoint_id | - the main endpoint used by the radio |
zigpc_panid | - the PANID of the Zigbee network |
zigpc_ext_panid | - extended PANID |
zigpc_radio_channel | - the channel used by the Zigbee network |
zigpc_eui64 | Gateway EUI64 |
zigpc_endpoint_id | Gateway Endpoint ID |
zigpc_panid | Network PAN ID |
zigpc_ext_panid | Network extended Pan ID |
zigpc_radio_channel | Network radio channel |
sl_status_t zigpc_net_mgmt_node_add_complete | ( | const zigbee_eui64_t | node_eui64 | ) |
zigpc_net_mgmt_node_add_complete Callback from the gateway when a node is added
node_eui64 | - EUI64 of the added node |
@SL_STATUS_OK if able to succseffuly manage the newly added node
sl_status_t zigpc_net_mgmt_node_remove_complete | ( | const zigbee_eui64_t | eui64 | ) |
zigpc_net_mgmt_node_remove_complete On a response from a node remove attempt
eui64 | - EUI64 of the node removed |
sl_status_t zigpc_net_mgmt_publish_interview_status | ( | const zigbee_eui64_t | eui64, |
zigpc_discovery_status_t | discovery_status | ||
) |
zigpc_net_mgmt_publish_interview_status On an response from a node interview message, publish the status
eui64 | - the EUI64 of the node |
discovery_status | - the status of the discovery process |
|
static |