Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
ux_state_s Struct Reference

Global UX state shared between the application and the UX event handlers. More...

#include <ux_bagl.h>

Collaboration diagram for ux_state_s:

Public Attributes

unsigned char stack_count
bolos_task_status_t exit_code
bagl_element_t tmp_element
ux_stack_slot_t stack [UX_STACK_SLOT_COUNT]
bolos_ux_params_t params
char * externalText
bool validate_pin_from_dashboard
char string_buffer [128]

Detailed Description

Global UX state shared between the application and the UX event handlers.

Fields:

  • exit_code: set by the OS to signal a task status change
  • validate_pin_from_dashboard: set to true when BOLOS_UX_VALIDATE_PIN is received
  • string_buffer: 128-byte scratch buffer for transient display strings

Definition at line 281 of file ux_bagl.h.

Member Data Documentation

◆ exit_code

bolos_task_status_t ux_state_s::exit_code

Definition at line 283 of file ux_bagl.h.

◆ externalText

char* ux_state_s::externalText

Definition at line 318 of file ux_bagl.h.

◆ params

bolos_ux_params_t ux_state_s::params

Definition at line 315 of file ux_bagl.h.

◆ stack

Definition at line 304 of file ux_bagl.h.

◆ stack_count

unsigned char ux_state_s::stack_count

Definition at line 282 of file ux_bagl.h.

◆ string_buffer

char ux_state_s::string_buffer[128]

Definition at line 54 of file ux_nbgl.h.

◆ tmp_element

bagl_element_t ux_state_s::tmp_element

Definition at line 299 of file ux_bagl.h.

◆ validate_pin_from_dashboard

bool ux_state_s::validate_pin_from_dashboard

Definition at line 51 of file ux_nbgl.h.


The documentation for this struct was generated from the following files: