Developing with ZBOSS
|
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_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_tc_rejoin_enabled | ( | zb_bool_t | enable | ) |
Specifies whether 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.