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

◆ slm_data_handler_t

typedef void(* slm_data_handler_t) (const uint8_t *data, size_t datalen)

#include <include/modem/modem_slm.h>

Handler to handle data received from SLM, which could be AT response, AT notification or simply raw data (for example DFU image).

Parameters
dataData received from SLM.
datalenLength of the data received.
Note
The handler runs from uart callback. It must not call modem_slm_send_cmd. The data should be copied out by the application as soon as called.