![]() |
nrfxlib API 3.3.99
|
| 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.
| cmd | SoftSIM request command. | |
| req_id | Request ID used to match request and response. | |
| [in] | data | Pointer to the data of the SoftSIM request. |
| data_len | Length of the data of the SoftSIM request. |