nRF Connect SDK API 0.1.0
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).

Parameters
[out]bufThe buffer to copy the APN into.
lenThe size of the output buffer.
Returns
int Zero on success or a negative errno otherwise.