nRF Connect SDK API 2.8.99
|
int lte_lc_conn_eval_params_get | ( | struct lte_lc_conn_eval_params * | params | ) |
#include <include/modem/lte_lc.h>
Get connection evaluation parameters.
Connection evaluation parameters can be used to determine the energy efficiency of data transmission before the actual data transmission.
CONFIG_LTE_LC_CONN_EVAL_MODULEto be enabled.
[out] | params | Connection evaluation parameters. |
0 | if evaluation succeeded. |
1 | if evaluation failed, no cell available. |
2 | if evaluation failed, UICC not available. |
3 | if evaluation failed, only barred cells available. |
4 | if evaluation failed, radio busy (e.g GNSS activity). |
5 | if evaluation failed, aborted due to higher priority operation. |
6 | if evaluation failed, UE not registered to network. |
7 | if evaluation failed, unspecified. |
-EINVAL | if input argument was invalid. |
-EFAULT | if AT command failed. |
-EOPNOTSUPP | if connection evaluation is not available in the current functional mode. |
-EBADMSG | if parsing of the AT command response failed. |