January 2019
Intermediate to advanced
458 pages
10h 35m
English
The main source file and with it the application entry point is pretty uneventful:
#include "ota_core.h"void onInit() { // }void init() { OtaCore::init(onInit); }
With the OtaCore class containing the main application logic, we merely call its static initialization function while providing a callback function if we wish to execute any further logic after the core class has finished setting up the network, MQTT, and other functionality.