Search found 5 matches

by CraftyZA
Fri May 17, 2024 3:19 pm
Forum: ESP-IDF
Topic: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259
Replies: 7
Views: 2763

Re: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259

Still not 100% sure what the issue was, but refactored to just the basics. Will add new code bit by bit, and keep testing. Hi CraftyZA, Did you find a solution or reason for the error? I am also facing the same after updating esp-idf to v5.2.1. I never used to have this error. Thanks, Seans I think...
by CraftyZA
Sat Mar 23, 2024 4:10 pm
Forum: ESP-IDF
Topic: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259
Replies: 7
Views: 2763

Re: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259

Still not 100% sure what the issue was, but refactored to just the basics.
Will add new code bit by bit, and keep testing.
by CraftyZA
Sat Mar 23, 2024 12:49 pm
Forum: ESP-IDF
Topic: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259
Replies: 7
Views: 2763

Re: ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259

I've made the code pretty verbose in my last update. Updated main function: void app_main(void) { printf("Starting packet Detection...\n"); esp_log_level_set("*", ESP_LOG_VERBOSE); ESP_LOGI(TAG, "Before WiFi Initialization"); // Initialize NVS esp_err_t ret = nvs_flash_init(); if (ret == ESP_ERR_NVS...
by CraftyZA
Sat Mar 23, 2024 12:44 pm
Forum: ESP-IDF
Topic: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259
Replies: 7
Views: 2763

Re: ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259

I've made the code pretty verbose in my last update. Updated main function: void app_main(void) { printf("Starting packet Detection...\n"); esp_log_level_set("*", ESP_LOG_VERBOSE); ESP_LOGI(TAG, "Before WiFi Initialization"); // Initialize NVS esp_err_t ret = nvs_flash_init(); if (ret == ESP_ERR_NVS...
by CraftyZA
Fri Mar 22, 2024 6:51 pm
Forum: ESP-IDF
Topic: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259
Replies: 7
Views: 2763

(SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259

I'm trying something new. I want to detect certain management packets, then trigger an alarm when detected. The error above comes from the libnet80211.a library. I was hoping to see the source somewhere to find out what event=40 ret=259 could mean. The highlighted code is the line that breaks. I've ...