nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ lte_lc_conn_eval_params_get()

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.

Note
Requires
CONFIG_LTE_LC_CONN_EVAL_MODULE 
to be enabled.
Parameters
[out]paramsConnection evaluation parameters.
Returns
Zero on success, negative errno code if the API call fails, and a positive error code if the API call succeeds but connection evaluation fails due to modem/network related reasons.
Return values
0if evaluation succeeded.
1if evaluation failed, no cell available.
2if evaluation failed, UICC not available.
3if evaluation failed, only barred cells available.
4if evaluation failed, radio busy (e.g GNSS activity).
5if evaluation failed, aborted due to higher priority operation.
6if evaluation failed, UE not registered to network.
7if evaluation failed, unspecified.
-EINVALif input argument was invalid.
-EFAULTif AT command failed.
-EOPNOTSUPPif connection evaluation is not available in the current functional mode.
-EBADMSGif parsing of the AT command response failed.