OSError: scan failed

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
jamesb
Posts: 12
Joined: Tue Nov 29, 2016 3:31 am

OSError: scan failed

Postby jamesb » Sun Dec 18, 2016 3:00 am

wifi.scan() gives:

Code: Select all

>>> interface.scan()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: scan failed

I think it's when it can't see any wifi networks. I guess I'll enclose it in a try-except block, unless someone know a smart way around this?

Return to “ESP8266 boards”

Who is online

Users browsing this forum: No registered users and 3 guests