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.
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 |
40
of file common/throughput/throughput_common.h
throughput_role_t#
throughput_role_t
Role enum type.
Enumerator | |
---|---|
THROUGHPUT_ROLE_PERIPHERAL | |
THROUGHPUT_ROLE_CENTRAL |
45
of file common/throughput/throughput_types.h
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 |
51
of file common/throughput/throughput_types.h
throughput_mode_t#
throughput_mode_t
Mode enum type.
Enumerator | |
---|---|
THROUGHPUT_MODE_CONTINUOUS | |
THROUGHPUT_MODE_FIXED_TIME | |
THROUGHPUT_MODE_FIXED_LENGTH |
62
of file common/throughput/throughput_types.h
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 |
69
of file common/throughput/throughput_types.h
Typedef Documentation#
throughput_tx_power_t#
typedef int8_t throughput_tx_power_t
TX power type.
79
of file common/throughput/throughput_types.h
throughput_rssi_t#
typedef int8_t throughput_rssi_t
RSSI type.
81
of file common/throughput/throughput_types.h
throughput_pdu_size_t#
typedef uint16_t throughput_pdu_size_t
PDU size type.
83
of file common/throughput/throughput_types.h
throughput_mtu_size_t#
typedef uint16_t throughput_mtu_size_t
MTU size type.
85
of file common/throughput/throughput_types.h
throughput_data_size_t#
typedef uint16_t throughput_data_size_t
Data size type.
87
of file common/throughput/throughput_types.h
throughput_phy_t#
typedef sl_bt_gap_phy_coding_t throughput_phy_t
PHY type.
89
of file common/throughput/throughput_types.h
throughput_scan_phy_t#
typedef sl_bt_scanner_scan_phy_t throughput_scan_phy_t
90
of file common/throughput/throughput_types.h
throughput_notification_t#
typedef sl_bt_gatt_client_config_flag_t throughput_notification_t
Notification/indication type.
92
of file common/throughput/throughput_types.h
throughput_value_t#
typedef uint32_t throughput_value_t
Throughput type.
94
of file common/throughput/throughput_types.h
throughput_count_t#
typedef uint32_t throughput_count_t
Data counter type type.
96
of file common/throughput/throughput_types.h
throughput_time_t#
typedef uint32_t throughput_time_t
Time type type.
98
of file common/throughput/throughput_types.h
throughput_allowlist_t#
typedef struct allowlist_s throughput_allowlist_t
Throughput test allowlist structure.
105
of file common/throughput/throughput_types.h
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.
51
of file common/throughput/throughput_common.h
CLI_RESPONSE#
#define CLI_RESPONSEValue:
(...)
148
of file common/throughput/throughput_types.h
CLI_OK#
#define CLI_OKValue:
"OK" APP_LOG_NEW_LINE
149
of file common/throughput/throughput_types.h
CLI_ERROR#
#define CLI_ERRORValue:
"ERROR" APP_LOG_NEW_LINE
150
of file common/throughput/throughput_types.h