
Data Structures | |
| struct | zb_zdo_secur_get_auth_level_req_s |
| Parameters for get authentication level request. More... | |
| struct | zb_zdo_secur_get_auth_level_rsp_s |
Typedefs | |
| typedef zb_uint8_t | zb_post_join_key_upd_method_t |
| typedef struct zb_zdo_secur_get_auth_level_req_s | zb_zdo_secur_get_auth_level_req_t |
| Parameters for get authentication level request. More... | |
| typedef struct zb_zdo_secur_get_auth_level_rsp_s | zb_zdo_secur_get_auth_level_rsp_t |
InitialJoinAuthentication enum (see Table 4-33) | |
Note: These values were members of | |
| typedef zb_uint8_t | zb_initial_join_auth_t |
| #define | ZB_JOIN_NO_AUTHENTICATION 0x00U |
| #define | ZB_JOIN_INSTALLCODE_KEY 0x01U |
| #define | ZB_JOIN_ANON_KEY_NEG 0x02U |
| #define | ZB_JOIN_AUTH_KEY_NEG 0x03U |
| #define zb_get_supported_key_neg_method zb_get_supported_key_neg_mtd |
| #define zb_get_supported_key_neg_method_direct zb_get_supported_key_neg_mtd_direct |
| #define ZB_JOIN_ANON_KEY_NEG 0x02U |
Key Negotiation with Well-known key
| #define ZB_JOIN_AUTH_KEY_NEG 0x03U |
Key Negotiation with auth method
| #define ZB_JOIN_INSTALLCODE_KEY 0x01U |
| #define ZB_JOIN_NO_AUTHENTICATION 0x00U |
| #define ZB_POST_JOIN_KEY_UPD_METH_APP_DEFINED_CERT_BASED_MUTUAL 0x04U /* CBKE indeed */ |
| #define ZB_POST_JOIN_KEY_UPD_METH_AUTH_KEY_NEGOTIATION 0x03U |
| #define ZB_POST_JOIN_KEY_UPD_METH_HASHED_TCLK 0x07U /* Hashed TCLK is restored from backup at TC after TC swap */ |
| #define ZB_POST_JOIN_KEY_UPD_METH_KEY_REQ 0x01U |
| #define ZB_POST_JOIN_KEY_UPD_METH_NOT_UPDATED 0x00U |
| #define ZB_POST_JOIN_KEY_UPD_METH_RESERVED1 0x05U |
| #define ZB_POST_JOIN_KEY_UPD_METH_RESERVED2 0x06U |
| #define ZB_POST_JOIN_KEY_UPD_METH_UNAUTH_KEY_NEGOTIATION 0x02U |
| #define zb_set_supported_key_neg_method zb_set_supported_key_neg_mthd |
| #define zb_set_supported_key_neg_method_direct zb_set_supported_key_neg_mthd_direct |
| #define ZB_TLV_KEY_ECDHE_METHOD_ENABLE | ( | var, | |
| method | |||
| ) | ((var) |= (1u << (method))) |
Add supported key negotiation method into a bitmask
| method | - key negotiation method zb_tlv_key_negotiation_methods_t |
| var | - destination bitmask to be passed to zb_set_supported_key_neg_mthd() |
| #define ZB_TLV_PSK_SECRET_ENABLE | ( | var, | |
| secret | |||
| ) | ZB_TLV_KEY_ECDHE_METHOD_ENABLE((var), (secret)) |
Add supported PSK secret into a bitmask
| secret | - PSK secret zb_tlv_psk_secrets_t |
| var | - destination bitmask to be passed to zb_set_supported_psk_secrets |
| typedef zb_uint8_t zb_initial_join_auth_t |
Parameters for get authentication level request.
| void zb_disable_key_neg_method | ( | zb_uint8_t | method | ) |
Disable the supported by this device Key Negotiation Protocols Method
| method | - zb_tlv_key_negotiation_methods_t |
| void zb_disable_psk_secret | ( | zb_uint8_t | secret | ) |
Disable the supported by this device Pre-shared secret
| secret | - zb_tlv_psk_secrets_t |
| void zb_enable_key_neg_method | ( | zb_uint8_t | method | ) |
Enable the supported by this device Key Negotiation Protocols Method
| method | - zb_tlv_key_negotiation_methods_t |
| void zb_enable_psk_secret | ( | zb_uint8_t | secret | ) |
Enable the supported by this device Pre-shared secret
| secret | - zb_tlv_psk_secrets_t |
| zb_uint8_t zb_get_supported_key_neg_mtd | ( | void | ) |
Get the supported by this device Key Negotiation Protocols Bitmask
| zb_uint16_t zb_get_supported_key_neg_mtd_direct | ( | void | ) |
Get the supported by this device Key Negotiation Protocols Bitmask (in scope of Zigbee Direct functionality)
| zb_uint8_t zb_get_supported_psk_secrets | ( | void | ) |
Get the supported by this device Supported Pre-shared secrets Bitmask
| zb_uint8_t zb_get_supported_psk_secrets_direct | ( | void | ) |
Get the supported by this device Supported Pre-shared secrets Bitmask (in scope of Zigbee Direct functionality)
| void zb_set_aps_enc_for_zdo_conf_cmd | ( | zb_bool_t | val | ) |
Set/unset aps security for zdo commands, which need configuration mode
| void zb_set_aps_enc_for_zdo_in_distrib_nwk | ( | zb_bool_t | val | ) |
Set/unset aps security for zdo set/get conf and decommission reqs
| void zb_set_supported_key_neg_mthd | ( | zb_uint8_t | methods_mask | ) |
Set the supported by this device Key Negotiation Protocols Bitmask
| methods_mask | - bitmask of the supported methods - zb_tlv_key_negotiation_methods_t |
| void zb_set_supported_key_neg_mthd_direct | ( | zb_uint16_t | methods_mask | ) |
Set the supported by this device Key Negotiation Protocols Bitmask (in scope of Zigbee Direct functionality)
| methods_mask | - bitmask of the supported methods - zb_tlv_key_negotiation_methods_t |
| void zb_set_supported_psk_secrets | ( | zb_uint8_t | secret_mask | ) |
Set the supported by this device Pre-shared secrets Bitmask
| secret_mask | - bitmask of the supported secrets - zb_tlv_psk_secrets_t |
| void zb_set_supported_psk_secrets_direct | ( | zb_uint8_t | secret_mask | ) |
Set the supported by this device Pre-shared secrets Bitmask (in scope of Zigbee Direct functionality)
| secret_mask | - bitmask of the supported methods - zb_tlv_psk_secrets_t |
| zb_uint8_t zb_zdo_get_auth_level_req | ( | zb_uint8_t | param, |
| zb_callback_t | cb | ||
| ) |
Get authentication level for target device.
| param | - index of buffer zb_zdo_secur_get_auth_level_req_s |
| cb | - user's function to call when response is ready zb_zdo_secur_get_auth_level_rsp_s |
| zb_ret_t zb_zdo_secur_update_device_tclk | ( | zb_uint8_t | param, |
| zb_ieee_addr_t | dev_ieee_addr | ||
| ) |
Send Security_Key_Update_req for update EXISTING verified tclk.
| param | - index of buffer with request |
| dev_ieee_addr | - extended address of device, which tclk should be updated. |