BT Mesh Provisioner UI Application Component#

BT Mesh Provisioner UI Application component provides user interface functionality for provisioning applications in Bluetooth Mesh networks.

Enumerations#

enum
UI_MENU
UI_WAITING_FOR_CMD
UI_CMD_PROCESSING
UI_WAITING_FOR_INPUT
UI_EXIT
}

UI state.

Typedefs#

typedef enum ui_state_e

UI state.

Macros#

#define
EXIT_COMMAND 'q'
#define
SCAN_COMMAND 's'
#define
PROVISION_COMMAND 'p'
#define
NODELIST_COMMAND 'l'
#define
NODEINFO_COMMAND 'i'
#define
REMOVE_NODE_COMMAND 'r'
#define
KEY_REFRESH_COMMAND 'k'
#define
KEY_EXPORT_COMMAND 'x'
#define
RESET_COMMAND 'e'
#define
PROV_UI_MENU undefined

Enumeration Documentation#

ui_state_e#

ui_state_e

UI state.

Enumerator
UI_MENU
UI_WAITING_FOR_CMD
UI_CMD_PROCESSING
UI_WAITING_FOR_INPUT
UI_EXIT

Typedef Documentation#

sl_ui_state#

typedef enum ui_state_e sl_ui_state

UI state.


Function Documentation#

btmesh_app_prov_ui_handle_remote_prov_cmd#

sl_status_t btmesh_app_prov_ui_handle_remote_prov_cmd (char cmd_id)
Parameters
TypeDirectionArgument NameDescription
char[in]cmd_id

Command id

Remote provisioning related command handler


btmesh_app_prov_ui_get_ui_state#

sl_ui_state btmesh_app_prov_ui_get_ui_state (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A

Get UI state


btmesh_app_prov_ui_get_input_buffer#

bool btmesh_app_prov_ui_get_input_buffer (char ** ui_input_buffer)
Parameters
TypeDirectionArgument NameDescription
char **[out]ui_input_buffer

data read from input console

Get buffer with input console content