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

◆ pdn_ctx_auth_set()

int pdn_ctx_auth_set ( uint8_t  cid,
enum pdn_auth  method,
const char *  user,
const char *  password 
)

#include <include/modem/pdn.h>

Set PDN connection authentication parameters.

Parameters
cidThe PDP context to set authentication parameters for.
methodThe desired authentication method.
userThe username to use for authentication.
passwordThe password to use for authentication.
Returns
int Zero on success or a negative errno otherwise.