Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E (12345) wifi:NAN WiFi stop (IDFGH-11325) #12473

Open
3 tasks done
kriegste opened this issue Oct 27, 2023 · 5 comments
Open
3 tasks done

E (12345) wifi:NAN WiFi stop (IDFGH-11325) #12473

kriegste opened this issue Oct 27, 2023 · 5 comments
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally

Comments

@kriegste
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

ESP32
IDF 5.1.1

After esp_restart(), just before restarting,

E (12345) wifi:NAN WiFi stop

appears in the log. What does this error mean? How can I prevent it? It did not appear in IDF 4.4.x.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Oct 27, 2023
@github-actions github-actions bot changed the title E (12345) wifi:NAN WiFi stop E (12345) wifi:NAN WiFi stop (IDFGH-11325) Oct 27, 2023
@mscott370
Copy link

Hi @kriegste
I'm also seeing the error message when i use Arduino-ESP32 v3.0.0 (based on ESP-IDF 5.1).
"E (23862) wifi:NAN WiFi stop"

  • The error message is logged when i call WiFi.disconnect() and did not appear using Arduino-ESP32 v2.0.14 (ESP-IDF v4.4.6). The only way i can avoid the message is to suppress wifi logging:
    esp_log_level_set("wifi", ESP_LOG_NONE)
  • not really a desirable solution as i normally would want to see wifi errors.
  • I am not using any WiFi-Aware (NAN) functions, so should not be seeing the NAN error message, and if i try to avoid the error by terminating NAN before calling WiFi.disconnect() with:
    esp_err_t ret = esp_wifi_nan_stop();
    ... that just produces a "NAN isn't started" message. So if NAN isn't started, why do we see this new message?

@kriegste
Copy link
Author

kriegste commented Nov 4, 2023

Oh, I was not aware NAN stands for WiFi-Aware... I checked all my floating point code since nan normally is a floating point issue... That is an unfortunate name for an error!

Anyway, I do not use WiFi-Aware either. It is disabled in sdkconfig (which seems to be default).

@ShyamalKhachane
Copy link
Collaborator

Hi @kriegste @mscott370, this is not an error, it's supposed to be an informative print. We will suppress it in upcoming commits.

@mscott370
Copy link

Hi @ShyamalKhachane - has the commit for this issue occurred yet?

@bjuberchaub
Copy link

bjuberchaub commented Feb 21, 2025

Still seeing this on 5.3.1:

Image

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: In Progress Work is in progress labels Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

6 participants