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 )
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
Init ESL Tag CLI test harness
cli_esl_tag_address_get#
void cli_esl_tag_address_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL Address value
cli_esl_tag_ap_key_get#
void cli_esl_tag_ap_key_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL Access Point Key value
cli_esl_tag_response_key_get#
void cli_esl_tag_response_key_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL Response Key value
cli_esl_tag_absolute_time_get#
void cli_esl_tag_absolute_time_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL Absolute Time value
cli_esl_tag_led_info_get#
void cli_esl_tag_led_info_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL LED Information
cli_esl_tag_display_info_get#
void cli_esl_tag_display_info_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL Display Information
cli_esl_tag_image_info_get#
void cli_esl_tag_image_info_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL Image Information
cli_esl_tag_sensor_info_get#
void cli_esl_tag_sensor_info_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL Sensor Information
cli_esl_tag_status_get#
void cli_esl_tag_status_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL State Machine status
cli_esl_tag_basic_state_get#
void cli_esl_tag_basic_state_get (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for reading the ESL Basic State
cli_esl_tag_service_needed_set#
void cli_esl_tag_service_needed_set (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for writing the ESL Basic State Service Needed flag
cli_esl_tag_advertising_set#
void cli_esl_tag_advertising_set (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for enabling ESL advertising
cli_esl_tag_image_set#
void cli_esl_tag_image_set (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for setting static image data
cli_esl_tag_restart#
void cli_esl_tag_restart (sl_cli_command_arg_t * arguments)
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_cli_command_arg_t * | [in] | arguments | command line argument list |
CLI command for restart the ESL Tag