Bluetooth specialization of the PersonalHealthDevice.
More...
#include <personalhealthdevice.h>
This abstract class extends the PersonalHealthDevice with properties of the underlying bluetooth Health Device Profile (HDP) device, namely the bluetooth address and name.
- Todo:
- Describe how the HDP standard maps to this interface
- See also
- PersonalHealthDevice
-
PHDBluetoothConnector
PAL::PHDBluetoothDevice::PHDBluetoothDevice |
( |
| ) |
|
|
inline |
The default constructor will create a PersonalHealthDevice object with a new unique FSYS::Handle.
PAL::PHDBluetoothDevice::PHDBluetoothDevice |
( |
FSYS::Handle & |
h | ) |
|
|
inline |
This alternative constructor will create a PersonalHealthDevice object with a cloned FSYS::Handle.
virtual std::string PAL::PHDBluetoothDevice::getBTAddress |
( |
| ) |
const |
|
pure virtualnoexcept |
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.
virtual std::string PAL::PHDBluetoothDevice::getBTName |
( |
| ) |
const |
|
pure virtualnoexcept |
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.
The documentation for this class was generated from the following file: