"from network import Bluetooth"
Following main.py code throws : "Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name Bluetooth
from network import Bluetooth
bluetooth = Bluetooth()
bluetooth.start_scan(-1) # start scanning with no timeout
from machine import UART
uart = UART(0, 115200)
Hope the misstake is all mine, I just received my module, it's looking real promising, but I had a bit of a hard time to get it up and runnning.
I'm on a SiPy, brand new.
Yeah, I realized that :(
Thanks for the quick reply.
Hope to see the SiPy in updater tool soon now that I just bought two of 'em.
jmarcelino last edited by
I see you already posted on the other thread and likely found the problem but, just in case you're stuck, what's happening is the SiPy doesn't have Bluetooth yet, it only has a very old firmware while the module goes through Sigfox certification.