Unwanted messages when initializing Wifi

olegboicenco
Posts: 10
Joined: Sun Jul 26, 2020 2:48 pm

Unwanted messages when initializing Wifi

Postby olegboicenco » Fri Oct 23, 2020 1:13 pm

Hi all!
We use ESP32 and ESP-IDV v4.0 in our project.
During WiFI initialization, unwanted messages are printed in UART0:

I (15227) wifi:wifi driver task: 3ffe7c0c, prio:23, stack:6656, core=1
I (15241) wifi:wifi firmware version: aa5336b
I (15241) wifi:config NVS flash: enabled
I (15241) wifi:config nano formating: disabled
I (15241) wifi:Init dynamic tx buffer num: 32
I (15242) wifi:Init data frame dynamic rx buffer num: 8
I (15242) wifi:Init management frame dynamic rx buffer num: 8
I (15243) wifi:Init management short buffer num: 32
I (15244) wifi:Init static rx buffer size: 1600
I (15244) wifi:Init static rx buffer num: 3
I (15244) wifi:Init dynamic rx buffer num: 8
I (15332) wifi:mode : sta (24:6f:28:86:29:10)
I (15454) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (16109) wifi:state: init -> auth (b0)
I (16109) wifi:state: auth -> init (0)
I (16110) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (16151) wifi:flush txq
I (16151) wifi:stop sw txq
I (16152) wifi:lmac stop hw txq

These messages get in our way very much in our project. We assume that they can be disabled in the sdkconfig. And we tried many difference configuration options in sdkconfig, but we could not get these messages missing. Please tell us how we can disable the display of these messages. Our sdkconfig file is attached.
sdkconfig.txt
(52.46 KiB) Downloaded 427 times
Thanks in advance! Best regards!
Oleg Boicenco

boarchuz
Posts: 606
Joined: Tue Aug 21, 2018 5:28 am

Re: Unwanted messages when initializing Wifi

Postby boarchuz » Sat Oct 24, 2020 12:08 am

Try setting the log level of "wifi" component to none before its initialisation:

esp_log_level_set("wifi", ESP_LOG_NONE);

olegboicenco
Posts: 10
Joined: Sun Jul 26, 2020 2:48 pm

Re: Unwanted messages when initializing Wifi

Postby olegboicenco » Tue Oct 27, 2020 1:51 pm

boarchuz wrote:
Sat Oct 24, 2020 12:08 am
Try setting the log level of "wifi" component to none before its initialisation:

esp_log_level_set("wifi", ESP_LOG_NONE);
Thank you so much!!! It works!!!

Who is online

Users browsing this forum: No registered users and 191 guests