Developing with ZBOSS SDK for Zigbee
|
Functions | |
void | zb_secur_setup_nwk_key (zb_uint8_t *key, zb_uint8_t i) |
Setup nwk key to be used by ZCP tests. More... | |
void | zb_secur_nwk_key_switch_procedure (zb_uint8_t param) |
void | zb_secur_set_tc_rejoin_enabled (zb_bool_t enable) |
void | zb_secur_set_ignore_tc_rejoin (zb_bool_t enable) |
void zb_secur_nwk_key_switch_procedure | ( | zb_uint8_t | param | ) |
Initiate procedure of NWK key switching.
Generate next NWK key if it not exists, broadcast new NWK key, after delay broadcast NWK key switch command. Can run at TC only.
param | - work buffer ID or 0 (is zero, function allocates buffer itself) |
void zb_secur_set_ignore_tc_rejoin | ( | zb_bool_t | enable | ) |
Specifies whether Trust Center Rejoin is ignored.
If set to ZB_TRUE, devices that attempted unsecure rejoin will be ignored.
enable | - whether to enable or disable TC Rejoin ignore. |
void zb_secur_set_tc_rejoin_enabled | ( | zb_bool_t | enable | ) |
Specifies whether unsecure Trust Center Rejoin is allowed.
If set to ZB_FALSE, devices that attempted unsecure rejoin will not be authorized.
enable | - whether to enable or disable TC Rejoin. |
void zb_secur_setup_nwk_key | ( | zb_uint8_t * | key, |
zb_uint8_t | i | ||
) |
Setup nwk key to be used by ZCP tests.
key | - key to be used |
i | - key number (0-3) |
Call this routine at TC to change random nwk key generated from zb_ib_set_defaults to well-known key. To be used in certification tests.