implemented keep alive
This commit is contained in:
parent
dad7187909
commit
45ce9b1cd7
1 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ void QBluetoothLeUart::handleDeviceDiscovered(const QBluetoothDeviceInfo &device
|
|||
{
|
||||
// Is it a BLE device?
|
||||
if (device.coreConfigurations() & QBluetoothDeviceInfo::LowEnergyCoreConfiguration) {
|
||||
//qWarning() << "Discovered BLE Device: name: " << device.name() << " Address: " << device.address().toString();
|
||||
qWarning() << "Discovered BLE Device: name: " << device.name() << " Address: " << device.address().toString() << " UUIDs: " << device.serviceUuids();
|
||||
// ignore all devices that to not support our service
|
||||
if(!device.serviceUuids().contains(QBluetoothUuid(this->uartServiceUUID)))
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue