Hi,
I am using modified MQTT simple code on a DK board. I am wanting to "capture" URC's. For testing I have enabled CEREG and CESQ URC's and disabled the AT host library.
I init and enable a at_notif_register_handler for URC's. I can see the handler being called when URC's are received but if I try to access the handler's response buffer in any way, the device reset's itself. The same handler used with AT command send with callbacks works fine (the at_notif handler is not registered during those tests).
Also if I disable the at notif handler, setup setup a simple at socket and poll it I can use a button interrupt to send a AT command and get a POLLIN response but URC's never trigger a POLLIN event.
I am unsure of what is happening here, does using the lte_lc or any other MQTT simple includes affect the capture of URC's? Any ideas?
Thank you..