Suppressing WiFi diagnostic messages

georg.il
Posts: 2
Joined: Tue Apr 24, 2018 6:11 pm

Suppressing WiFi diagnostic messages

Postby georg.il » Tue Apr 24, 2018 6:28 pm

Hi there,

does anyone know how to suppress the nerving WiFi diagnostic messages?

The background: I'm using ESP-NOW to realize a mesh network with a number of ESP8266 nodes. Their SoftAPs follow a defined naming scheme so that they can be recognized as mesh nodes based on their SSID. Since the network topology can change, the peers in the network are not fixed. Therefore, I use the wifi_station_scan function periodically (every 10 s) to figure out the peers that are currently visible by a node and add or delete them from ESP-NOW peers list. The scandone messages are completly irrelevant thereby and simply nerving. Therefore, I would like to suppress them. Does anyone know how?

Regards
Gunar

blubb
Posts: 107
Joined: Mon Jun 22, 2015 5:35 am

Re: Suppressing WiFi diagnostic messages

Postby blubb » Wed Apr 25, 2018 2:02 am

Have you tried this?

system_set_os_print(0);

georg.il
Posts: 2
Joined: Tue Apr 24, 2018 6:11 pm

Re: Suppressing WiFi diagnostic messages

Postby georg.il » Thu Apr 26, 2018 5:46 pm

It helped. Sometimes it is so easy ... Thanks a lot :)

Who is online

Users browsing this forum: Google [Bot] and 6 guests