I want to apply these configuration changes in my main.c file. How can I convert and use the following C++ configuration declarations using the C API? MicroOcpp::declareConfiguration<const char*>( "MeterValuesSampledData", "Power.Active.Import,Energy.Active.Import.Register,Current.Import,Current.Offered,Voltage,Temperature,SoC"); MicroOcpp::declareConfiguration<bool>( MO_CONFIG_EXT_PREFIX "PreBootTransactions", true); MicroOcpp::declareConfiguration<bool>( MO_CONFIG_EXT_PREFIX "SilentOfflineTransactions", true); MicroOcpp::declareConfiguration<int>( "MeterValueSampleInterval", 5);
Activity