Enumerations
Enumerations
BLE Services » Throughput Service Client (THS_C)

## Enumerations
enum | ths_c_transport_mode_t { THS_C_SLAVE_NOTIFY_MODE, THS_C_MASTER_WRITE_MODE, THS_C_DOUBLE_MODE }
| Throughput Service Client data transport mode. More...
enum | ths_c_settings_type_t { THS_C_SETTINGS_TYPE_CI, THS_C_SETTINGS_TYPE_MTU, THS_C_SETTINGS_TYPE_PDU, THS_C_SETTINGS_TYPE_PHY, THS_C_SETTINGS_TYPE_TRANS_MODE, THS_C_SETTINGS_TYPE_TX_POWER }
| Throughput service settings types. More...
enum | ths_c_evt_type_t { THS_C_EVT_INVALID, THS_C_EVT_DISCOVERY_COMPLETE, THS_C_EVT_DISCOVERY_FAIL, THS_C_EVT_TX_NTF_SET_SUCCESS, THS_C_EVT_SETTING_NTF_SET_SUCCESS, THS_C_EVT_TOGGLE_SET_SUCCESS, THS_C_EVT_SETTING_RSP_RECEIVE, THS_C_EVT_THRP_DATA_RECEIVE, THS_C_EVT_TX_SUCCESS, THS_C_EVT_PARAM_SET_SUCCESS, THS_C_EVT_WRITE_OP_ERR }
| Throughput Service Client event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ ths_c_evt_type_t

enum ths_c_evt_type_t

Throughput Service Client event type.

Enumerator
THS_C_EVT_INVALID | THS Client invalid event.
THS_C_EVT_DISCOVERY_COMPLETE | THS Client has found THS service and its characteristics.
THS_C_EVT_DISCOVERY_FAIL | THS Client found THS service failed because of invalid operation or no found at the peer.
THS_C_EVT_TX_NTF_SET_SUCCESS | THS Client has set peer Tx notify.
THS_C_EVT_SETTING_NTF_SET_SUCCESS | THS Client has set peer Settings notify.
THS_C_EVT_TOGGLE_SET_SUCCESS | THS Client has set toggle no.
THS_C_EVT_SETTING_RSP_RECEIVE | THS CLient has received response of parameter set.
THS_C_EVT_THRP_DATA_RECEIVE | THS Client has received throughput data from peer.
THS_C_EVT_TX_SUCCESS | THS Client has sent something to a peer successfully.
THS_C_EVT_PARAM_SET_SUCCESS | THS Client has set parameter for connection and transport mode.
THS_C_EVT_WRITE_OP_ERR | Error occured when THS Client writen to peer.

## ◆ ths_c_settings_type_t

enum ths_c_settings_type_t

Throughput service settings types.

Enumerator
THS_C_SETTINGS_TYPE_CI | BLE Connection Interval parameter.
THS_C_SETTINGS_TYPE_MTU | MTU Size.
THS_C_SETTINGS_TYPE_PDU | PDU Size.
THS_C_SETTINGS_TYPE_PHY | Radio Phy mode, 1M, 2M, Encoded.
THS_C_SETTINGS_TYPE_TRANS_MODE | Data transmission mode.
THS_C_SETTINGS_TYPE_TX_POWER | Connect Tx power.

## ◆ ths_c_transport_mode_t

enum ths_c_transport_mode_t

Throughput Service Client data transport mode.

Enumerator
THS_C_MASTER_WRITE_MODE | The device recieves data from the peer via notify.
THS_C_DOUBLE_MODE | The device writes data to the peer.