Functions | |
sdk_err_t | gus_service_init (gus_init_t *p_gus_init) |
Initialize a Goodix UART Service instance and add in the database. More... | |
sdk_err_t | gus_tx_data_send (uint8_t conn_idx, uint8_t *p_data, uint16_t length) |
Send data to peer device. More... | |
sdk_err_t | gus_rx_flow_ctrl_set (uint8_t conn_idx, gus_flow_ctrl_state_t flow_ctrl) |
Send GUS Rx flow control state to peer device. More... | |
uint16_t | gus_service_start_handle_get (void) |
Provide the interface for other modules to obtain the gus service start handle . More... | |
sdk_err_t gus_rx_flow_ctrl_set | ( | uint8_t | conn_idx, |
gus_flow_ctrl_state_t | flow_ctrl | ||
) |
Send GUS Rx flow control state to peer device.
sdk_err_t gus_service_init | ( | gus_init_t * | p_gus_init | ) |
Initialize a Goodix UART Service instance and add in the database.
[in] | p_gus_init | Pointer to Goodix UART Service initialization variables. |
uint16_t gus_service_start_handle_get | ( | void | ) |
Provide the interface for other modules to obtain the gus service start handle .
sdk_err_t gus_tx_data_send | ( | uint8_t | conn_idx, |
uint8_t * | p_data, | ||
uint16_t | length | ||
) |
Send data to peer device.
[in] | conn_idx | Index of the connection. |
[in] | p_data | Pointer to sent data. |
[in] | length | Length of sent data. |