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

◆ pdn_id_get()

int pdn_id_get ( uint8_t  cid)

#include <include/modem/pdn.h>

Retrieve the PDN ID for a given PDP Context.

The PDN ID can be used to route traffic through a Packet Data Network.

Parameters
cidThe context ID of the PDN connection.
Returns
int A non-negative PDN ID on success, or a negative errno otherwise.