You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use one Filter.ManufacturerData and I pass a single element ByteArray for both data and dataMask and everything works fine (the actual manufacturer data is 9 bytes).
If I use multiple Filter.ManufacturerData and I pass a single element ByteArray for both data and dataMask I get a crash saying that:
Data mask length (1) must match data length (9)
because Filter.ManufacturerData.matches(data: ByteArray?) calls requireDataAndMaskHaveSameLength using the actual manufacturer data (as opposed to the data parameter).
The text was updated successfully, but these errors were encountered:
@eygraber when you have a chance, can you test if the following SNAPSHOT fixes the issue for you (it is based on 0.35.0 release with #842 cherry-picked):
Using 0.35.0-rc
If I use one
Filter.ManufacturerData
and I pass a single elementByteArray
for bothdata
anddataMask
and everything works fine (the actual manufacturer data is 9 bytes).If I use multiple
Filter.ManufacturerData
and I pass a single elementByteArray
for bothdata
anddataMask
I get a crash saying that:because
Filter.ManufacturerData.matches(data: ByteArray?)
callsrequireDataAndMaskHaveSameLength
using the actual manufacturer data (as opposed to thedata
parameter).The text was updated successfully, but these errors were encountered: