[NRF9160, NCS2.5.0 MFW1.3.5] AT%XPCO doesn't return any notification

Hello,

I'm trying to access active PCO from nrf9160 applicaton to be able to diagnose problems like missing DNS, wrong access point etc. I tried using %XPCO command, AT%XPCO=1 returns ok, yet there is no notifications via AT monitor when the device attaches to a network. Tried it both on SLM and on our application. What am I doing wrong:

//Initialization
nrf_modem_at_printf("AT%%XPCO=1");

//Monitor

AT_MONITOR(sleet_pco, "%XPCO: ", pco_handler);
static void pco_handler(const char *notif) {
    LOG_ERR("PCO: %s\n", notif);
}

Otherwise, is there any other way to access PCO (and preferably rest of ESM message) short of full modem trace?

Parents Reply Children
Related