/** * Define dialogs to operate sketch binary updates operated by the * AutoConnectUpdate class. * @file AutoConnectUpdatePage.h * @author hieromon@gmail.com * @version 0.9.9 * @date 2019-05-04 * @copyright MIT license. */ #ifndef _AUTOCONNECTUPDATEPAGE_H #define _AUTOCONNECTUPDATEPAGE_H // Define the AUTOCONNECT_URI_UPDATE page to select the sketch binary // for update and order update execution. const AutoConnectUpdate::ACElementProp_t AutoConnectUpdate::_elmCatalog[] PROGMEM = { { AC_Text, "caption", nullptr, nullptr }, { AC_Radio, "firmwares", nullptr, nullptr }, { AC_Submit, "update", "UPDATE", AUTOCONNECT_URI_UPDATE_ACT } }; const AutoConnectUpdate::ACPage_t AutoConnectUpdate::_auxCatalog PROGMEM = { AUTOCONNECT_URI_UPDATE, "Update", false, AutoConnectUpdate::_elmCatalog }; // Define the AUTOCONNECT_URI_UPDATE_ACT page to display during the // update process. const AutoConnectUpdate::ACElementProp_t AutoConnectUpdate::_elmProgress[] PROGMEM = { { AC_Element, "caption", "