Open Vaibhav152000 opened 1 year ago
In file included from src\main.cpp:9: .pio\libdeps\esp12e\MicroOcpp\src/MicroOcpp.h:91:6: note: candidate: 'void mocpp_initialize(MicroOcpp::Connection&, const char*, std::shared_ptr, bool)' 91 | void mocpp_initialize( | ^~~~ .pio\libdeps\esp12e\MicroOcpp\src/MicroOcpp.h:91:6: note: candidate expects 4 arguments, 5 provided *** [.pio\build\esp12e\src\main.cpp.o] Error 1
my function : mocpp_initialize(OCPP_HOST, OCPP_PORT, OCPP_URL,"My Charging Station", "My company name");
In file included from src\main.cpp:9: .pio\libdeps\esp12e\MicroOcpp\src/MicroOcpp.h:91:6: note: candidate: 'void mocpp_initialize(MicroOcpp::Connection&, const char*, std::shared_ptr, bool)'
91 | void mocpp_initialize(
| ^
~~~.pio\libdeps\esp12e\MicroOcpp\src/MicroOcpp.h:91:6: note: candidate expects 4 arguments, 5 provided *** [.pio\build\esp12e\src\main.cpp.o] Error 1