Closed snahmad closed 6 years ago
ok.
wifi_config_t* wifi_manager_config_sta is not thread safe. not sure how can i do it in C. I know C++ atomic.
The equivalent in freeRTOS is xSemaphoreTake/xSemaphoreGive. Can you point me to a potential unsafe code location?
ok, Thanks. While OTA update I need to stop my Http server. that will do trick
That's correct. This function was created as a sanity to clean up properly the memory in case you would like to completely shutdown wifi_manager; but in this implementation the wifi_manager task is always on.
This function is here to help you integrate wifi_manager with your existing codebase.