Closed Slion closed 4 months ago
There are three levels of inquiry response. The basic one does have neither name nor rssi. Please check packet log.
Maybe you need to enable higher levels with: hci_set_inquiry_mode(INQUIRY_MODE_RSSI_AND_EIR)
See gap_inquiry which also stores device addresses in a list and does a remote name query if needed.
Maybe you need to enable higher levels with: hci_set_inquiry_mode(INQUIRY_MODE_RSSI_AND_EIR)
That's it, that's what the a2dp source demo uses too. It did the trick, getting a lot more names now. I'll look at gap_inquiry too, thanks for the tips.
See gap_inquiry which also stores device addresses in a list and does a remote name query if needed.
I see now you meant to point me to that inquiry example rather than a function 🤦 Just tried it and that works great, could even fetch my Logitech K810 name using remote name query 🥳
Glad you got it working. What project are you working on?
Glad you got it working.
You got it working, I'm just trying to understand how it works 😁
What project are you working on?
Mostly assessing the Bluetooth HID capabilities of the Pico W for various projects.
Pico W SDK 1.5.1
I ported the inquiry from
a2dp_source_demo
tohid_host_demo
and it does find some devices but weirdly none have names or rssi like they do ina2dp_source_demo
. Any tips?