5.6.3 Read BD_ADDR Command

Format:

CommandOGFOCFCommand ParametersReturn Parameters
Read BD_ADDR0x040x0009Status, BD_ADDR

This command reads the Public Device Address. Upon issuing the command, the user receives a command complete event with return parameters (see the following figure). The return value will be 0x000000000000 if the device does not support public device addressing.

Return parameters:

Status: Size: 1 octet

ValueParameter Description
0x00

HCI_Read_BD_ADDR command succeeded.

0x01 to 0xFFHCI_Read_BD_ADDR command failed. See [Vol 1] Part F, Controller Error Codes for a list of error codes and descriptions.

BD_ADDR: Size: 6 octets

ValueParameter Description
0xXXXXXXXXXXXX

BD_ADDR of the device

Example:01 09 10 00 // Read_BD_ADDR command
Response:04 0E 0A 01 09 10 00 AC 0E AE F4 81 34

// Command complete event with status and BD_ADDR parameters