The DeviceInfo class Provides information about discovered slave device.
More...
#include <deviceinfo.h>
|
|
QString | deviceName |
| |
|
QString | deviceAddress |
| |
The DeviceInfo class Provides information about discovered slave device.
◆ DeviceInfo()
| DeviceInfo::DeviceInfo |
( |
const QBluetoothDeviceInfo & |
info | ) |
|
◆ getAddress()
| QString DeviceInfo::getAddress |
( |
| ) |
const |
DeviceInfo::getAddress Manages deviceName property and provides device address to UI.
- Returns
- MAC address in string form
◆ getDevice()
| QBluetoothDeviceInfo DeviceInfo::getDevice |
( |
| ) |
const |
◆ getName()
| QString DeviceInfo::getName |
( |
| ) |
const |
DeviceInfo::getName Manges deviceName property and provides device name to UI.
- Returns
- Device name
◆ setDevice()
| void DeviceInfo::setDevice |
( |
const QBluetoothDeviceInfo & |
device | ) |
|
DeviceInfo::setDevice Sets just found device as class variable to be able to get its address and name.
- Parameters
-
| device | Reference to found device |
The documentation for this class was generated from the following files:
- E:/MULTIMEDIA/Documents/Qt/HospitalAnalyser_Android/Header/deviceinfo.h
- E:/MULTIMEDIA/Documents/Qt/HospitalAnalyser_Android/Source/deviceinfo.cpp