ESL Tag WSTK LCD driver#

This component is an example of a low level driver implementation for the LCD memory display mounted on the WSTK Developer Board, to be used with an ESL Tag Display component. PLEASE NOTE that this driver automatically registers the WSTK LCD screen as the first display on the ESL Tag!

Functions#

sl_status_t
esl_wstk_lcd_init(int param_count,...)
sl_status_t
esl_wstk_lcd_write(int param_count,...)
void
esl_wstk_lcd_bt_on_event(sl_bt_msg_t *evt)

Function Documentation#

esl_wstk_lcd_init#

sl_status_t esl_wstk_lcd_init (int param_count, ... )
Parameters
TypeDirectionArgument NameDescription
int[in]param_count

Number of parameters following (mandatory, equals to 'ESL_DISPLAY_INIT_FUNC_PARAMETERS_COUNT' defined by esl_tag_display component.

...[in]

uint8_t type of the display index

ESL Tag display driver init function. ESL display component will call this during the initialization of application. This call is hidden and happens automatically on Bluetooth sl_bt_evt_system_boot_id event.


esl_wstk_lcd_write#

sl_status_t esl_wstk_lcd_write (int param_count, ... , image_index)
Parameters
TypeDirectionArgument NameDescription
int[in]param_count

Number of parameters following (mandatory, equals to 'ESL_DISPLAY_WRITE_FUNC_PARAMETERS_COUNT' defined by esl_tag_display component.

...[in]

uint8_t type of the display index

[in]image_index

uint8_t type of the image index

ESL Tag display driver write function.


esl_wstk_lcd_bt_on_event#

void esl_wstk_lcd_bt_on_event (sl_bt_msg_t * evt)
Parameters
TypeDirectionArgument NameDescription
sl_bt_msg_t *[in]evt

Event coming from the Bluetooth stack.

ESL WSTK LCD driver's bluetooth stack event handler. This one runs by the user implementation (usually in app.c) in parallel. Adds the WSTK display as the very first display, and initializes it silently.


esl_wstk_lcd_is_logo

bool esl_wstk_lcd_is_logo (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A

esl_tag_wstk_lcd_run_qrcode#

sl_status_t esl_tag_wstk_lcd_run_qrcode (void )
Parameters
TypeDirectionArgument NameDescription
voidN/A