* AUTOCONNECT_URI_UPDATE_ACT page handler * Only display a dialog indicating that the update is in progress. * @param progress A reference of the AutoConnectAux as AUTOCONNECT_URI_UPDATE_ACT * @param args A reference of the PageArgument of the PageBuilder * @return Additional string to the page but it always null. */
| 474 | * @return Additional string to the page but it always null. |
| 475 | */ |
| 476 | String AutoConnectUpdateAct::_onUpdate(AutoConnectAux& progress, PageArgument& args) { |
| 477 | AC_UNUSED(args); |
| 478 | |
| 479 | // Constructs the dialog page. |
| 480 | AutoConnectElement* binName = progress.getElement(F("binname")); |
| 481 | _binName = _auxCatalog->getElement<AutoConnectRadio>(F("firmwares")).value(); |
| 482 | binName->value = _binName; |
| 483 | AutoConnectElement* url = progress.getElement(F("url")); |
| 484 | url->value = host + ':' + port; |
| 485 | return String(""); |
| 486 | } |
| 487 | |
| 488 | /** |
| 489 | * AUTOCONNECT_URI_UPDATE_RESULT page handler |
nothing calls this directly
no test coverage detected