CLI Test Harness for ESL Tag application#
CLI Test Harness is an optional component for the ESL Tag example application, providing a set of commands to control and observe the ESL Tag internal behavior directly via a serial terminal. This is a No-Code component, however only meaningful in ESL context.
Functions#
Macros#
Function Documentation#
esl_tag_cli_test_harness_init#
void esl_tag_cli_test_harness_init (void )
N/A |
Init ESL Tag CLI test harness
63
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_address_get#
void cli_esl_tag_address_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL Address value
69
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_ap_key_get#
void cli_esl_tag_ap_key_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL Access Point Key value
75
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_response_key_get#
void cli_esl_tag_response_key_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL Response Key value
81
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_absolute_time_get#
void cli_esl_tag_absolute_time_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL Absolute Time value
87
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_led_info_get#
void cli_esl_tag_led_info_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL LED Information
93
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_display_info_get#
void cli_esl_tag_display_info_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL Display Information
99
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_image_info_get#
void cli_esl_tag_image_info_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL Image Information
105
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_sensor_info_get#
void cli_esl_tag_sensor_info_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL Sensor Information
111
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_status_get#
void cli_esl_tag_status_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL State Machine status
117
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_basic_state_get#
void cli_esl_tag_basic_state_get (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for reading the ESL Basic State
123
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_service_needed_set#
void cli_esl_tag_service_needed_set (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for writing the ESL Basic State Service Needed flag
129
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_advertising_set#
void cli_esl_tag_advertising_set (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for enabling ESL advertising
135
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_image_set#
void cli_esl_tag_image_set (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for setting static image data
141
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
cli_esl_tag_restart#
void cli_esl_tag_restart (sl_cli_command_arg_t * arguments)
[in] | arguments | command line argument list |
CLI command for restart the ESL Tag
147
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
Macro Definition Documentation#
ESL_CORE_LOG_ENABLE#
#define ESL_CORE_LOG_ENABLEValue:
1
45
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
ESL_LOG_COMPONENT_APP_ENABLE#
#define ESL_LOG_COMPONENT_APP_ENABLEValue:
1
50
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
ESL_LOG_COMPONENT_CORE_ENABLE#
#define ESL_LOG_COMPONENT_CORE_ENABLEValue:
1
55
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
ESL_LOG_COMPONENT_DISPLAY_ENABLE#
#define ESL_LOG_COMPONENT_DISPLAY_ENABLEValue:
1
60
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
ESL_LOG_COMPONENT_RAM_IMAGE_ENABLE#
#define ESL_LOG_COMPONENT_RAM_IMAGE_ENABLEValue:
1
65
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
ESL_LOG_COMPONENT_NVM_IMAGE_ENABLE#
#define ESL_LOG_COMPONENT_NVM_IMAGE_ENABLEValue:
1
70
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
ESL_LOG_COMPONENT_LED_ENABLE#
#define ESL_LOG_COMPONENT_LED_ENABLEValue:
1
75
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
ESL_LOG_COMPONENT_OTS_ENABLE#
#define ESL_LOG_COMPONENT_OTS_ENABLEValue:
1
80
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
ESL_LOG_COMPONENT_SENSOR_ENABLE#
#define ESL_LOG_COMPONENT_SENSOR_ENABLEValue:
1
85
of file common/esl_tag_cli_test_harness/config/esl_log_config.h
VA#
#define VAValue:
(...)
45
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
CLI_RESPONSE#
#define CLI_RESPONSEValue:
46
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
CLI_RESPONSE_APPEND#
#define CLI_RESPONSE_APPENDValue:
49
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
CLI_RESPONSE_HEADLESS#
#define CLI_RESPONSE_HEADLESSValue:
53
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
CLI_OK#
#define CLI_OKValue:
"OK"
57
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h
CLI_ERROR#
#define CLI_ERRORValue:
"ERROR"
58
of file common/esl_tag_cli_test_harness/esl_tag_cli_test_harness.h