nrfxlib API 2.8.99
|
uint8_t sdc_hci_cmd_ip_read_bd_addr | ( | sdc_hci_cmd_ip_read_bd_addr_return_t * | p_return | ) |
#include <softdevice_controller/include/sdc_hci_cmd_info_params.h>
Read BD_ADDR.
The description below is extracted from Core_v6.0, Vol 4, Part E, Section 7.4.6
On a BR/EDR Controller, this command reads the Bluetooth Controller address (BD_ADDR). (See [Vol 2] Part B, Section 1.2 and [Vol 3] Part C, Section 3.2.1).
On an LE Controller, this command shall read the Public Device Address as defined in [Vol 6] Part B, Section 1.3. If this Controller does not have a Public Device Address, the value 0x000000000000 shall be returned.
On a BR/EDR/LE Controller, the public address shall be the same as the BD_ADDR.
Event(s) generated (unless masked away): When the HCI_Read_BD_ADDR command has completed, an HCI_Command_Complete event shall be generated.
[out] | p_return | Extra return parameters. |
0 | if success. |