ble scan: improve log message

This commit is contained in:
Andrei Vereha 2021-03-02 18:37:45 +01:00
parent b6692a5ac6
commit 099ec0a328

View file

@ -42,7 +42,7 @@ class BleDiscoveredDevice(val scanResult: ScanResult, private val scanRecord: Sc
val podId = hexPodId.toLong(16) val podId = hexPodId.toLong(16)
if (this.podId != podId) { if (this.podId != podId) {
throw DiscoveredInvalidPodException( throw DiscoveredInvalidPodException(
"This is not the POD we are looking for. " + this.podId + " found: " + this.podId, "This is not the POD we are looking for: ${this.podId} . Found: $podId/$hexPodId" ,
serviceUUIDs serviceUUIDs
) )
} }