In this class, we set up all of the basic network functionality for the specific feature modules, in addition to providing utility functions for logging and MQTT functionality. This class also contains the main command processor for commands received over MQTT:
#include <user_config.h>#include <SmingCore/SmingCore.h>
These two includes are required to make use of the Sming framework. With them, we include the main headers of the SDK (user_config.h) and those of Sming (SmingCore.h). This also defines a number of preprocessor statements, such as to use the open source Light-Weight IP stack (LWIP) and to deal with some issues in the official SDK.
Also of note is the esp_cplusplus.h header, which is indirectly included this way. Its source ...