RF Sentinel (RFSentinel): free, open-source police detector app for Android. Spots police body cams, Flock ALPR cameras, AirTag trackers, Remote ID drones, smart glasses and fake cell towers from Bluetooth LE and WiFi. No root.
Kotlin airtagalprandroidandroid-autoanti-surveillancebluetooth-low-energybody-cameracounter-surveillancedrone-detectionflock-safetyimsi-catcher-detectorpolice-detectorpolice-scannerprivacyremote-idrtl-sdrsdrsurveillance-detectiontracker-detectionwifi
Mesh radio Bluetooth write: compare with the named status code
CIS-C09fb5e1708ee3
diff --git a/app/src/main/java/com/rfsentinel/app/esp/MeshBle.kt b/app/src/main/java/com/rfsentinel/app/esp/MeshBle.ktindex cc520de..4090e5a 100644--- a/app/src/main/java/com/rfsentinel/app/esp/MeshBle.kt+++ b/app/src/main/java/com/rfsentinel/app/esp/MeshBle.kt@@ -136,7 +136,7 @@ object MeshBle {}private fun send(g: BluetoothGatt, c: BluetoothGattCharacteristic, value: ByteArray): Boolean =- if (Build.VERSION.SDK_INT >= 33) g.writeCharacteristic(c, value, BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT) == 0+ if (Build.VERSION.SDK_INT >= 33) g.writeCharacteristic(c, value, BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT) == android.bluetooth.BluetoothStatusCodes.SUCCESSelse {@Suppress("DEPRECATION") run { c.value = value; g.writeCharacteristic(c) }}