Bluetooth scan data

hello, currently i have problem regarding bluetooth scan data.
the data i want to scan is consist of advertisement data and scan response
i want to filter the advertisement data then get the scan response from that specific advertisement data

but in squirrel the advertisement data and scan response treated as separate entities/set of data.
are there any easy way to get the scan response from filtered advertisement data?

If I’ve understood your requirement correctly, it’s a matter of not filtering by type – or at least including type 4 (scan responses) in your filter – and then mapping advert to response through some common identifier in the data of advert and response, eg. address, but what’s available will depend on what devices and services you are looking for. For every response provided through the callback, check it’s ID against a list of IDs you build up from the received adverts.

This topic was automatically closed after 60 days. New replies are no longer allowed.