Throughput Test helper#
Helper for throughput tests
Modules#
Enumerations#
State enum type.
Mode enum type.
Discovery state.
Typedefs#
TX power type.
RSSI type.
PDU size type.
MTU size type.
Data size type.
PHY type.
Notification/indication type.
Throughput type.
Data counter type type.
Time type type.
Throughput test allowlist structure.
Macros#
The default PDU size if 27 bytes according to the Core Specification.
The maximum available MTU size.
Enumeration Documentation#
action_t#
action_t
Discovering services/characteristics and subscribing raises procedure_complete events Actions are used to indicate which procedure was completed.
| Enumerator | |
|---|---|
| act_none | |
| act_discover_service | |
| act_discover_characteristics | |
| act_enable_transmission_notification | |
| act_enable_notification | |
| act_enable_indication | |
| act_subscribe_result | |
throughput_role_t#
throughput_role_t
Role enum type.
| Enumerator | |
|---|---|
| THROUGHPUT_ROLE_PERIPHERAL | |
| THROUGHPUT_ROLE_CENTRAL | |
throughput_state_t#
throughput_state_t
State enum type.
| Enumerator | |
|---|---|
| THROUGHPUT_STATE_UNINITALIZED | |
| THROUGHPUT_STATE_DISCONNECTED | |
| THROUGHPUT_STATE_CONNECTED | |
| THROUGHPUT_STATE_SUBSCRIBED | |
| THROUGHPUT_STATE_TEST | |
| THROUGHPUT_STATE_TEST_FINISH | |
| THROUGHPUT_STATE_UNINITALIZING | |
throughput_mode_t#
throughput_mode_t
Mode enum type.
| Enumerator | |
|---|---|
| THROUGHPUT_MODE_CONTINUOUS | |
| THROUGHPUT_MODE_FIXED_TIME | |
| THROUGHPUT_MODE_FIXED_LENGTH | |
throughput_discovery_state_t#
throughput_discovery_state_t
Discovery state.
| Enumerator | |
|---|---|
| THROUGHPUT_DISCOVERY_STATE_IDLE | |
| THROUGHPUT_DISCOVERY_STATE_CONN | |
| THROUGHPUT_DISCOVERY_STATE_SCAN | |
| THROUGHPUT_DISCOVERY_STATE_SERVICE | |
| THROUGHPUT_DISCOVERY_STATE_CHARACTERISTICS | |
| THROUGHPUT_DISCOVERY_STATE_FINISHED | |
Typedef Documentation#
throughput_notification_t#
typedef sl_bt_gatt_client_config_flag_t throughput_notification_t
Notification/indication type.
throughput_allowlist_t#
typedef struct allowlist_s throughput_allowlist_t
Throughput test allowlist structure.
Macro Definition Documentation#
THROUGHPUT_DEFAULT_PDU_SIZE#
#define THROUGHPUT_DEFAULT_PDU_SIZEValue:
27u
The default PDU size if 27 bytes according to the Core Specification.
THROUGHPUT_MAXIMUM_MTU_SIZE#
#define THROUGHPUT_MAXIMUM_MTU_SIZEValue:
(SL_BGAPI_MAX_PAYLOAD_SIZE - 7)
The maximum available MTU size.