WIFI activity is very verbose in version 1.8.7

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
jcea
Posts: 27
Joined: Fri Mar 18, 2016 5:28 pm

WIFI activity is very verbose in version 1.8.7

Post by jcea » Tue Mar 14, 2017 4:05 am

Since I upgraded to 1.8.7 I see this when booting:

"""
>>> scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt

connected with Nirvana, channel 11
dhcp client start...
ip:192.168.1.8,mask:255.255.255.0,gw:192.168.1.1
"""

Moreover, I get WIFI notifications in the serial console from time to time, clashing with my terminal data. How can I disable that verbose information I don't need and that was not printed in v1.8.6?.

Thanks!.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: WIFI activity is very verbose in version 1.8.7

Post by Roberthh » Tue Mar 14, 2017 7:12 am

You can suppress the messages with:

Code: Select all

import esp
esp.osdebug(None)
e.g. in boot.py

jcea
Posts: 27
Joined: Fri Mar 18, 2016 5:28 pm

Re: WIFI activity is very verbose in version 1.8.7

Post by jcea » Wed Mar 15, 2017 12:22 am

Great. Thanks!.

Post Reply