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
Hello, the Auto-update feature is not working, because Makefile sets LWS_IS_FACTORY_APPLICATION to '1' while libwebscokets/plugins/protocol_esp32_lws_scan.c is comparing it to 'y'.
#if CONFIG_LWS_IS_FACTORY_APPLICATION == 'y' ...
Thanks.
The text was updated successfully, but these errors were encountered:
I'm willing to believe something broke with the update stuff, but confusing as it is, LWS_IS_FACTORY_APPLICATION (== 1) is completely distinct from CONFIG_LWS_IS_FACTORY_APPLICATION (==y).
The latter is set in sdkconfig which for me is
CONFIG_LWS_IS_FACTORY_APPLICATION=y
We pass LWS_IS_FACTORY_APPLICATION into the build as it is, without any CONFIG_ ... I think nothing uses it atm
This is due to an error in components/libwebsockets/plugins/protocol_esp32_lws_scan.c where the following #ifdef on row 218 should be changed from
#if CONFIG_LWS_IS_FACTORY_APPLICATION == 'y' && defined(CONFIG_LWS_OTA_SERVER_BASE_URL) && defined(CONFIG_LWS_OTA_SERVER_FQDN)
Hello, the Auto-update feature is not working, because Makefile sets LWS_IS_FACTORY_APPLICATION to '1' while libwebscokets/plugins/protocol_esp32_lws_scan.c is comparing it to 'y'.
#if CONFIG_LWS_IS_FACTORY_APPLICATION == 'y' ...
Thanks.
The text was updated successfully, but these errors were encountered: