nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_vs_zephyr_read_key_hierarchy_roots()

uint8_t sdc_hci_cmd_vs_zephyr_read_key_hierarchy_roots ( sdc_hci_cmd_vs_zephyr_read_key_hierarchy_roots_return_t p_return)

#include <softdevice_controller/include/sdc_hci_vs.h>

Zephyr Read KEY Hierarchy Roots.

This commands reads the controller specific identify and encryption root keys.

This command shall return the identity root key and encryption root key programmed by the vendor at manufacturing time. If a key is set to all zeros, then the associated key is not available and it should not be used in the key hierarchy.

The identity root key and encryption root key may be used for the controllers public device address or a static random address generated by the host. It shall not be used for static addresses returned by Read_Static_Addresses command that have its dedicated identity root key assigned.

Note: For addresses returned by Read_Static_Addresses with an all zeros identity root key, the returned Identity_Root value may be used. It is however important that it only gets assigned to a single address (either public or static random).

Event(s) generated (unless masked away): When the command has completed, an HCI_Command_Complete event shall be generated.

Parameters
[out]p_returnExtra return parameters.
Return values
0if success.
Returns
Returns value between 0x01-0xFF in case of error. See Vol 2, Part D, Error for a list of error codes and descriptions.