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

◆ pdn_default_apn_get()

int pdn_default_apn_get ( char * buf,
size_t len )

#include <include/modem/pdn.h>

Retrieve the default Access Point Name (APN).

The default APN is the APN of the default PDP context (zero).

Deprecated
Use lte_lc_pdn_default_ctx_apn_get().
Parameters
[out]bufThe buffer to copy the APN into. The string is null-terminated.
lenThe size of the output buffer.
Returns
int Zero on success or a negative errno otherwise.