nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_modem_softsim_req_handler_t

typedef void(* nrf_modem_softsim_req_handler_t) (enum nrf_modem_softsim_cmd cmd, uint16_t req_id, void *data, uint16_t data_len)

#include <nrf_modem/include/nrf_modem_softsim.h>

Handle a SoftSIM request.

This handler lets the application process a SoftSIM request. The application must then call nrf_modem_softsim_res with the response data requested, and nrf_modem_softsim_data_free when the request is not referenced anymore and can be freed.

Note
This handler is executed in an interrupt service routine (ISR). Offload any intensive operations as necessary.
Parameters
cmdSoftSIM request command.
req_idRequest ID used to match request and response.
[in]dataPointer to the data of the SoftSIM request.
data_lenLength of the data of the SoftSIM request.