Code not go forward after "xEventGroupWaitBits"
Posted: Wed Aug 16, 2023 5:51 pm
Hello makers! My code does not go forward after function
Everything seems to be going well, the device receives an IP and is connected to WI-FI. The function runs, returns the log "I(30134) wifi:<ba-add>idx:1 (ifx:0, 24:fd:0d:9e:a2:3c), tid:6, ssn:2, winSize : 64" and nothing else happens. Code behavior is demonstrated in the video https://www.youtube.com/watch?v=_S8BSBYQnRI&t=1s
Added lines 366 and 380 to help with debugging.
Sorry, I'm newbie using esp-idf, I used to program with arduino framework.
Code: Select all
EventBits_t bits = xEventGroupWaitBits(s_wifi_event_group,
WIFI_CONNECTED_BIT | WIFI_FAIL_BIT,
pdFALSE,
pdFALSE,
portMAX_DELAY);
Everything seems to be going well, the device receives an IP and is connected to WI-FI. The function runs, returns the log "I(30134) wifi:<ba-add>idx:1 (ifx:0, 24:fd:0d:9e:a2:3c), tid:6, ssn:2, winSize : 64" and nothing else happens. Code behavior is demonstrated in the video https://www.youtube.com/watch?v=_S8BSBYQnRI&t=1s
Added lines 366 and 380 to help with debugging.
Sorry, I'm newbie using esp-idf, I used to program with arduino framework.