Open MadGeometer opened 2 years ago
Are you sure the devices you are scanning advertises them? Using nRF connect on your phone is a good comparison.
Yes, the devices (one Macbook Pro, one iPad, and one iPhone) are indeed broadcasting their names. In fact, the names are displayed in Bluefruit Connect and nRF Connect, but not in the output from the sample code.
I'd recommend printing all of the advertisements. CircuitPython doesn't join the advertisement with scan response so you are at least missing half of the first two. IIRC you can print the raw advertisement with bytes(adv)
too.
Hello,
The advertisements returned by ble.start_scan() are missing short_name and complete_name. This happens in the ble_simpletest.py and ble_detailed_scan.py in the examples folder. Setting extended=true and increasing buffer_size doesn't help.
Any ideas?
Thanks, Mike
CircuitPython Info:
Sample code:
Output: