HciReadBluetoothDeviceAddress(out long, out int)
- Updated2025-10-13
- 1 minute(s) read
Sends the command to the device under test (DUT) to get its Bluetooth device (BD) address.
Syntax
Namespace: NationalInstruments.BluetoothDtm
public int HciReadBluetoothDeviceAddress(out long bluetoothDeviceAddress, out int status)
Parameters
| Name | Type | Description |
|---|---|---|
| bluetoothDeviceAddress | out long | returns the BD address of the DUT. |
| status | out int | Returns the status of the read BD_ADDR command. The DUT receives and executes the read BD_ADDR command if the status parameter returns a 0x00 value. The read BD_ADDR command fails if the status parameter returns a non-zero (0x01-0xFF) value. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.