Open masgari opened 2 years ago
Replacing EnigmaIOTNodeSerialConfigurerClass with current WifiManager makes onboarding simpler, also reduces ~200KB in final firmware size, make it possible to use it with boards with 1MB flash while OTA enabled.
EnigmaIOTNodeSerialConfigurerClass
//nodeConfigurer_t configurer = std::bind(&EnigmaIOTNodeJsonConfigurerClass::configure, &EnigmaIOTNodeJsonConfigurer, std::placeholders::_1); nodeConfigurer_t configurer = std::bind(&EnigmaIOTNodeSerialConfigurerClass::configure, &EnigmaIOTNodeSerialConfigurer, std::placeholders::_1); //nodeConfigurer_t configurer = std::bind(&EnigmaIOTNodeWifiConfigurerClass::configure, &EnigmaIOTNodeWifiConfigurer, std::placeholders::_1); EnigmaIOTNode.begin(&Espnow_hal, NULL, NULL, true, SLEEPY == 1, configurer); // Start EnigmaIOT communication
Hi, I've been offline for a while. This sounds really fine. I'll be happy to merge it. Give me some days to test it. Thanks
Replacing
EnigmaIOTNodeSerialConfigurerClass
with current WifiManager makes onboarding simpler, also reduces ~200KB in final firmware size, make it possible to use it with boards with 1MB flash while OTA enabled.