Functions | |
void | zb_secur_setup_nwk_key (zb_uint8_t *key, zb_uint8_t i) |
zb_ret_t | zb_secur_ic_add (zb_ieee_addr_t address, zb_uint8_t *ic) |
zb_ret_t | zb_secur_ic_remove (zb_ieee_addr_t address) |
zb_ret_t | zb_secur_ic_set (zb_uint8_t *ic) |
void | zb_set_installcode_policy (zb_bool_t allow_ic_only) |
zb_ret_t zb_secur_ic_add | ( | zb_ieee_addr_t | address, |
zb_uint8_t * | ic | ||
) |
Add the install code for the device with specified long address.
This valid is valid only for the TC (ZC).
address | - long address of the device to add the install code. |
ic | - pointer to the install code buffer. |
zb_ret_t zb_secur_ic_remove | ( | zb_ieee_addr_t | address | ) |
Remove the install code for the device with specified long address.
This valid is valid only for the TC (ZC).
address | - long address of the device to remove the install code. |
zb_ret_t zb_secur_ic_set | ( | zb_uint8_t * | ic | ) |
Add the client install code.
This function is to be run at client side (not at TC).
ic | - pointer to the install code buffer. |
void zb_secur_setup_nwk_key | ( | zb_uint8_t * | key, |
zb_uint8_t | i | ||
) |
Setup nwk key to be used by ZCP tests.
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.
key | - key to be used |
i | - key number (0-3) |
See TP_R20_BV-01 sample.
void zb_set_installcode_policy | ( | zb_bool_t | allow_ic_only | ) |
Set installcode policy flag.
allow_ic_only | - use ZB_TRUE value to check installcodes |