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);