You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I wonder if there is a reason why functions without parameters (void) can return "ESP_ERR_INVALID_ARG" according to the documentation. I found two such functions in "esp_wifi.h", I don't know if there are more functions in the project:
esp_wifi_start
esp_wifi_clear_ap_list
If this is because underlaying functions can return the ESP_ERR_INVALID_ARG error, I could understand, but I find it very confusing because the "main" API functions that users call do not take parameters.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Functions with 'void' parameter list return "ESP_ERR_INVALID_ARG" (documentation)
Functions with 'void' parameter list return "ESP_ERR_INVALID_ARG" (documentation) (IDFGH-11163)
Sep 29, 2023
hi @nkaaf
sorry for late reply
It is indeed because the function called inside the api returns ESP_ERR_INVALID_ARG, and we'll discuss whether to change the internal handling or change the description of the api to make it more accurate
Answers checklist.
General issue report
I wonder if there is a reason why functions without parameters (void) can return "ESP_ERR_INVALID_ARG" according to the documentation. I found two such functions in "esp_wifi.h", I don't know if there are more functions in the project:
If this is because underlaying functions can return the ESP_ERR_INVALID_ARG error, I could understand, but I find it very confusing because the "main" API functions that users call do not take parameters.
The text was updated successfully, but these errors were encountered: