esp_zb_secur_network_security_enable() function
Enable/Disable the network layer security
Arguments
enabled
A boolean indicating whether network layer security will be enabled
Return value
- ESP_OK: On success - ESP_ERR_INVALID_STATE: Invalid setting when the device is in network state - Otherwise: On failure