Closed Nikitanagar closed 1 month ago
indeed the type is the same as the variable name in the readme and the examples, that's certainly confusing :-)
here's what the compiler probably expects:
esp32FOTA esp32FOTA("esp32-fota-http", "1.0.0");
just rename the variable if vsCode doesn't like it:
esp32FOTA my_FOTA_Object("esp32-fota-http", "1.0.0");
Yeah, It is solved now. Thank you for the help.
it is showing this error [E][WiFiGeneric.cpp:1578] hostByName(): DNS Failed for server. Can you tell me why it occurred?
hi,
DNS failure is a problem on your network, maybe your router is offline or filtering traffic
I am using this library with vs code and it is showing this error: variable "esp32FOTA" is not a name type , in esp32FOTA("esp32-fota-http", 1, false); line. Can you please tell me which data type I need to define here?