nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_vs_zephyr_write_bd_addr()

uint8_t sdc_hci_cmd_vs_zephyr_write_bd_addr ( const sdc_hci_cmd_vs_zephyr_write_bd_addr_t p_params)

#include <softdevice_controller/include/sdc_hci_vs.h>

Zephyr Write BD ADDR.

This command writes the BD_ADDR (Bluetooth public device address) value to the volatile memory. The address does not change during an HCI Reset but is reset during a System Reset. The address can be read out using the Read_BD_ADDR command.

When the Write_BD_ADDR command has completed, a Command Complete event shall be generated.

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

Parameters
[in]p_paramsInput 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.