思澈科技软件开发工具包  2.20

Data service client for GUI application. It helps isolate GUI application thread from data service running. More...

Functions

void ui_datac_init (void)
 Initialize GUI data service client module.
 
datac_handle_t ui_datac_subscribe (datac_handle_t handle, char *name, data_callback_t cbk, uint32_t user_data)
 Subscribe data service in GUI thread context. More...
 

Detailed Description

Data service client for GUI application. It helps isolate GUI application thread from data service running.

Function Documentation

◆ ui_datac_subscribe()

datac_handle_t ui_datac_subscribe ( datac_handle_t  handle,
char *  name,
data_callback_t  cbk,
uint32_t  user_data 
)

Subscribe data service in GUI thread context.

Parameters
[in]handledata client handle
[in]nameData service name
[in]cbkCallback functions for data service.
[in]user_dataCallback function parameter. Service provide will call callback with it.
Return values
Pointerto message body.