1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-09 02:06:37 +02:00
oliexdev
2024-12-04 18:04:48 +01:00
parent b232995d47
commit 8eca3a0529

View File

@@ -172,8 +172,6 @@ public class BluetoothOKOK2 extends BluetoothCommunication {
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);