I have tried to get the github bluetooth micropython examples running (xBee3 ZigBee with firmware 1009). The gap_scan works well but when starting the github sample “xbee-micropython/samples/bluetooth/gap_connect_configuration/”, I get the following error lines in the output:
Traceback (most recent call last):
File “/flash/main.py”, line 36, in
AttributeError: ‘module’ object has no attribute ‘gap_connect’
MicroPython v1.11-1290-g9da1b0c on 2019-11-14; XBee3 Zigbee with EFR32MG
As I have not modified any code line, this is quite weird (as e.g. “ble.gap_scan” is found). I have formatted the device and then loaded only the main.py file - is there any library that I have to add (and where do I find it)?
Sadly the documentation on everything regarding bluetooth/micropython is very little…
Thanks in advance for any hint in the right direction!