|
SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
|
Two teaching screens on the HSM page: certificate enrolment by CSR, and Protected Update. More...
#include "lvgl.h"Go to the source code of this file.
Functions | |
| void | hsm_enrol_open (void) |
| Opens the CSR-enrolment overlay from an LVGL click; pair with hsm_provision_ui_teardown(). | |
| void | hsm_protect_open (void) |
| Opens the Protected Update overlay; same pairing contract as hsm_enrol_open(). | |
| void | hsm_provision_ui_teardown (void) |
| Last statement of the page's destroy_cb, while LVGL objects are still valid. | |
Two teaching screens on the HSM page: certificate enrolment by CSR, and Protected Update.
Each opens a full-screen overlay, the same idiom the PIN, certificate and benchmark screens use. Unlike those, the work behind these is asynchronous: IPC_CMD_HSM_PROVISION returns immediately and an lv_timer polls, because the operation takes seconds and a busy-wait here would freeze the screen and simultaneously stop ui_busy_modal_service() from drawing the overlay that would have explained the freeze.