mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
filter out null BLE device names
This commit is contained in:
parent
4556464b32
commit
589578c0da
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ class BTScanModel @Inject constructor(
|
|||
// respectively. This example uses Bluetooth.
|
||||
// We only look for Mesh (rather than the full name) because NRF52 uses a very short name
|
||||
val deviceFilter: BluetoothDeviceFilter = BluetoothDeviceFilter.Builder()
|
||||
// .setNamePattern(Pattern.compile("Mesh.*"))
|
||||
.setNamePattern(Pattern.compile("^\\S+\$"))
|
||||
// .addServiceUuid(ParcelUuid(BluetoothInterface.BTM_SERVICE_UUID), null)
|
||||
.build()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue