mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 14:51:14 -08:00
example 'meshtastic': adapt to communication with official apps; reviews
This commit is contained in:
parent
c46a18caae
commit
7350289076
7 changed files with 19 additions and 8 deletions
|
|
@ -26,7 +26,7 @@ BLE_ME::BLE_ME() : BLE(uuid_service) {
|
|||
}
|
||||
|
||||
bool BLE_ME::deviceFilter(const QBluetoothDeviceInfo& info) {
|
||||
return info.name().contains("meshtastic", Qt::CaseInsensitive) &&
|
||||
return info.name().contains(nameFilter, Qt::CaseInsensitive) &&
|
||||
(info.coreConfigurations() & QBluetoothDeviceInfo::LowEnergyCoreConfiguration);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue