-
Following main.py code throws : "Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name Bluetooth"
Main.py content:
from network import Bluetooth
bluetooth = Bluetooth()
bluetooth.start_scan(-1) # start scanning with no timeout
while True:
print(bluetooth.get_adv())Boot.py content:
from machine import UART
import os
uart = UART(0, 115200)
os.dupterm(uart)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. -
@maku
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. -
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login