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

◆ lte_lc_pdn_ctx_auth_set()

int lte_lc_pdn_ctx_auth_set ( uint8_t cid,
enum lte_lc_pdn_auth method,
const char * user,
const char * password )

#include <include/modem/lte_lc.h>

Set PDP context authentication parameters.

Note
Requires CONFIG_LTE_LC_PDN_MODULE to be enabled.
Parameters
[in]cidThe context ID.
[in]methodThe desired authentication method.
[in]userThe username to use for authentication.
[in]passwordThe password to use for authentication.
Return values
0On success.
Returns
A negative errno otherwise.