|
string | displayName |
|
string | btAddress |
|
string | btName |
|
string anonymous_namespace{bluedroid.cpp}::PhysicalDevice::getBTAddress |
( |
| ) |
const |
|
inlinevirtualnoexcept |
This getter will return the bluetooth address (a.k.a. MAC address) of this device. The format will be 6 double-digit hex values separated by colons, e.g.: "01:23:45:67:89:AB", so the string will always be 17 characters long.
- Returns
- The bluetooth address of this device.
Implements PAL::PHDBluetoothDevice.
string anonymous_namespace{bluedroid.cpp}::PhysicalDevice::getBTName |
( |
| ) |
const |
|
inlinevirtualnoexcept |
This getter will return the bluetooth name of this device. This may or may not be identical to the name returned by getDisplayName().
- Returns
- The bluetooth name of this device.
Implements PAL::PHDBluetoothDevice.
string anonymous_namespace{bluedroid.cpp}::PhysicalDevice::getDisplayName |
( |
| ) |
const |
|
inlinevirtualnoexcept |
This getter will return a user-friendly (or at least user-recognizable) name of the physical device, suitable for use in the user interface. Implementing classes should enforce consistent naming across other PAL layer interfaces (e.g. Bluetooth pairing, ZigBee network monitors and the like).
Bluetooth devices may (should?) grab the Service Name field of the SDP record; while USB devices may (should?) grab the name from the device descriptor's iProduct field.
- Returns
- The device name to be used in user interfaces.
Implements PAL::PhysicalPHD.
The documentation for this class was generated from the following file: