Defines network quality data that is returned.
Since: 5.1.0(18)
Related module: NetworkBoost
Header file: network_boost_quality.h
| Variable | Description |
|---|---|
| NetworkBoost_PathType pathType | Type of the path for which the network quality data needs to be returned. |
| uint64_t linkUpBandwidth | Uplink bandwidth, in bit/s. |
| uint64_t linkDownBandwidth | Downlink bandwidth, in bit/s. |
| uint64_t linkUpRate | Uplink rate, in bit/s. |
| uint64_t linkDownRate | Downlink rate, in bit/s. |
| uint32_t rttMs | RTT, which indicates the average RTT of all uplink and downlink TCP data packets on the data path corresponding to pathType in a statistical period. The value can be 0 or a positive number, in milliseconds. If no response to a certain TCP request is received within the statistical period, the RTT of that request will not be included for calculating the average RTT. As a result, when the Internet is completely unreachable, the RTT returned is relatively small because no responses to TCP requests are received, creating a mismatch with the actual status. In such cases, you are advised to use the on('netCapabilitiesChange') method for comprehensive evaluation. |
| uint32_t linkUpBufferDelayMs | Uplink air interface buffer delay, in milliseconds. The value is any positive number. |
| uint32_t linkUpBufferCongestionPercent | Percentage of the uplink air interface buffer delay to the total buffering time. The value range is [0, 100]. |
uint64_t NetworkBoost_NetworkQos::linkDownBandwidth
Description
Downlink bandwidth, in bit/s.
uint64_t NetworkBoost_NetworkQos::linkUpBandwidth
Description
Uplink bandwidth, in bit/s.
uint32_t NetworkBoost_NetworkQos::linkUpBufferCongestionPercent
Description
Percentage of the uplink air interface buffer delay to the total buffering time. The value range is [0, 100].
uint32_t NetworkBoost_NetworkQos::linkUpBufferDelayMs
Description
Uplink air interface buffer delay, in milliseconds. The value is any positive number.