Skip to content

Commit

Permalink
see comment at #1088 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliexdev committed Dec 4, 2024
1 parent b232995 commit 8eca3a0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8eca3a0

Please sign in to comment.