Skip to content

How can I figure out what or_pattern to use for BlueZ passive mode? #1479

Answered by adamse
adamse asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, this worked out for me:

  • I look at AdvertisementData.manufacturer_data so AdvertisementDataType.MANUFACTURER_SPECIFIC_DATA makes sense for me
  • In this case the bytes seem to match the manufacturer ID, so the key in AdvertisementData.manufacturer_data encoded as little endian works (2 bytes)

I guess I'd have to look at the BlueZ source to really understand what's going on, but for now I'm happy that my guess worked out!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adamse
Comment options

Answer selected by adamse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant