Typedefs | Enumerations
Enumerations
BLE Services » Goodix UART Service Client (GUS_C)

## Typedefs
typedef uint8_t | gus_c_flow_ctrl_state_t
| Underlying type used for the GUS Client flow control state. More...

## Enumerations
enum | gus_c_evt_type_t { GUS_C_EVT_INVALID, GUS_C_EVT_DISCOVERY_COMPLETE, GUS_C_EVT_DISCOVERY_FAIL, GUS_C_EVT_TX_NTF_SET_SUCCESS, GUS_C_EVT_FLOW_CTRL_NTF_SET_SUCCESS, GUS_C_EVT_PEER_DATA_RECEIVE, GUS_C_EVT_TX_CPLT, GUS_C_EVT_TX_FLOW_OFF, GUS_C_EVT_TX_FLOW_ON, GUS_C_EVT_RX_FLOW_UPDATE_CPLT, GUS_C_EVT_WRITE_OP_ERR }
| Goodix UART Service Client event type. More...
enum | gus_c_flow_ctrl_state { GUS_C_FLOW_CTRL_STATE_OFF = 0, GUS_C_FLOW_CTRL_STATE_ON }
| Flow control state for GUS Client service. More...

## Detailed Description

## Typedef Documentation

## ◆ gus_c_flow_ctrl_state_t

typedef uint8_t gus_c_flow_ctrl_state_t

Underlying type used for the GUS Client flow control state.

Definition at line 116 of file gus_c.h.

## Enumeration Type Documentation

## ◆ gus_c_evt_type_t

enum gus_c_evt_type_t

Goodix UART Service Client event type.

Enumerator
GUS_C_EVT_INVALID | Invalid GUS Client event.
GUS_C_EVT_DISCOVERY_COMPLETE | GUS Client has found service and its characteristics at peer.
GUS_C_EVT_DISCOVERY_FAIL | GUS Client found THS service failed because of invalid operation or no found at peer.
GUS_C_EVT_TX_NTF_SET_SUCCESS | GUS Client has set peer Tx notify.
GUS_C_EVT_FLOW_CTRL_NTF_SET_SUCCESS | GUS Client has set peer ble flow control notify.
GUS_C_EVT_PEER_DATA_RECEIVE | GUS Client has received something from peer.
GUS_C_EVT_TX_CPLT | GUS Client has sent something to peer successfully.
GUS_C_EVT_TX_FLOW_OFF | GUS Client has received Tx flow off control request from peer.
GUS_C_EVT_TX_FLOW_ON | GUS Client has received Tx flow on control request from peer.
GUS_C_EVT_RX_FLOW_UPDATE_CPLT | GUS CLient has updated flow control to peer completely.
GUS_C_EVT_WRITE_OP_ERR | Error occured when GUS Client wrote to peer.

Definition at line 94 of file gus_c.h.

## ◆ gus_c_flow_ctrl_state

enum gus_c_flow_ctrl_state

Flow control state for GUS Client service.

Enumerator
GUS_C_FLOW_CTRL_STATE_OFF | Indicate that GUS Client can not receive data from peer.
GUS_C_FLOW_CTRL_STATE_ON | Indicate that GUS Client can receive data from peer.

Definition at line 110 of file gus_c.h.