nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_modem_at_err()

static int nrf_modem_at_err ( int error)
inlinestatic

#include <nrf_modem/include/nrf_modem_at.h>

Retrieve the specific CME or CMS error from the return value of a nrf_modem_at_printf or nrf_modem_at_cmd call.

Parameters
errorThe return value of a nrf_modem_at_printf or nrf_modem_at_cmd call.
Returns
int The CME or CMS error code.