From 8eca3a052915e50e15b6ff65d92da458a5fc07f4 Mon Sep 17 00:00:00 2001 From: oliexdev Date: Wed, 4 Dec 2024 18:04:48 +0100 Subject: [PATCH] see comment at https://github.com/oliexdev/openScale/pull/1088#issuecomment-2509195401 --- .../com/health/openscale/core/bluetooth/BluetoothOKOK2.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothOKOK2.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothOKOK2.java index 7a131b57..48d72498 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothOKOK2.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothOKOK2.java @@ -172,8 +172,6 @@ public void connect(String macAddress) { byte[] mask = new byte[13]; mask[IDX_MAC_1] = mask[IDX_MAC_2] = mask[IDX_MAC_3] = mask[IDX_MAC_4] = mask[IDX_MAC_5] = mask[IDX_MAC_6] = (byte) 0xff; - // TODO: verify setAdvertisingDataTypeWithData on API33+ - // b.setAdvertisingDataTypeWithData(ScanRecord.DATA_TYPE_MANUFACTURER_SPECIFIC_DATA, data, mask); for (int i = 0x00; i <= 0xff; i++) { ScanFilter.Builder b = new ScanFilter.Builder(); b.setDeviceAddress(macAddress);