Throughput User Interface API#
API for drawing throughput test state and results to LCD
Functions#
Initilize the the UI.
Updates the the UI.
Sets the state value on UI.
Sets the role value on UI.
Sets the TX Power value on UI.
Sets the RSSI value on UI.
Sets the connection interval value on UI.
Sets the PDU size value on UI.
Sets the MTU size value on UI.
Sets the data size value on UI.
Sets the PHY on UI.
Sets the notification state on UI.
Sets the indication state on UI.
Sets the throughput value on UI.
Sets the counter value on UI.
Sets all values.
Function Documentation#
throughput_ui_init#
void throughput_ui_init (void )
Initilize the the UI.
N/A |
49
of file common/throughput_ui/throughput_ui.h
throughput_ui_update#
void throughput_ui_update (void )
Updates the the UI.
N/A |
55
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_state#
void throughput_ui_set_state (throughput_state_t state)
Sets the state value on UI.
[in] | state | current state |
63
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_role#
void throughput_ui_set_role (throughput_role_t role)
Sets the role value on UI.
[in] | role | the role can be
|
73
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_tx_power#
void throughput_ui_set_tx_power (throughput_tx_power_t power)
Sets the TX Power value on UI.
[in] | power | TX power in dBm |
81
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_rssi#
void throughput_ui_set_rssi (throughput_rssi_t rssi)
Sets the RSSI value on UI.
[in] | rssi | measured RSSI value |
89
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_connection_interval#
void throughput_ui_set_connection_interval (throughput_time_t interval)
Sets the connection interval value on UI.
[in] | interval | connectio interval in ms |
97
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_pdu_size#
void throughput_ui_set_pdu_size (throughput_pdu_size_t size)
Sets the PDU size value on UI.
[in] | size | PDU size in bytes |
105
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_mtu_size#
void throughput_ui_set_mtu_size (throughput_mtu_size_t size)
Sets the MTU size value on UI.
[in] | size | MTU size in bytes |
113
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_data_size#
void throughput_ui_set_data_size (throughput_data_size_t size)
Sets the data size value on UI.
[in] | size | data size in bytes |
121
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_phy#
void throughput_ui_set_phy (throughput_phy_t phy)
Sets the PHY on UI.
[in] | phy | can be either of
|
132
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_notifications#
void throughput_ui_set_notifications (throughput_notification_t notifications)
Sets the notification state on UI.
[in] | notifications | settings in CCCD, that can be either of
|
142
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_indications#
void throughput_ui_set_indications (throughput_notification_t indications)
Sets the indication state on UI.
[in] | indications | settings in CCCD, that can be either of
|
152
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_throughput#
void throughput_ui_set_throughput (throughput_value_t throughput)
Sets the throughput value on UI.
[in] | throughput | measured throughput in bits/second (bps) |
160
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_count#
void throughput_ui_set_count (throughput_count_t count)
Sets the counter value on UI.
[in] | count | counted bytes |
168
of file common/throughput_ui/throughput_ui.h
throughput_ui_set_all#
void throughput_ui_set_all (throughput_t status)
Sets all values.
[in] | status | throughput status |
176
of file common/throughput_ui/throughput_ui.h
Macro Definition Documentation#
THROUGHPUT_UI_LOG_ENABLE#
#define THROUGHPUT_UI_LOG_ENABLEValue:
1
14
of file common/throughput_ui/config/throughput_ui_config.h
THROUGHPUT_UI_PRINT_RSSI#
#define THROUGHPUT_UI_PRINT_RSSIValue:
0
19
of file common/throughput_ui/config/throughput_ui_config.h
THROUGHPUT_UI_LOG_ENABLE#
#define THROUGHPUT_UI_LOG_ENABLEValue:
1
13
of file common/throughput_ui/config/throughput_ui_log_config.h
THROUGHPUT_UI_LOG_REFRESH_ALL#
#define THROUGHPUT_UI_LOG_REFRESH_ALLValue:
1
17
of file common/throughput_ui/config/throughput_ui_log_config.h
THROUGHPUT_UI_LOG_BOX_ENABLE#
#define THROUGHPUT_UI_LOG_BOX_ENABLEValue:
1
21
of file common/throughput_ui/config/throughput_ui_log_config.h