14#ifndef NRF_MODEM_SOFTSIM_H__
15#define NRF_MODEM_SOFTSIM_H__
50 void *data, uint16_t data_len);
int nrf_modem_softsim_err(enum nrf_modem_softsim_cmd cmd, uint16_t req_id)
Sends a SoftSIM error to a request.
nrf_modem_softsim_cmd
SoftSIM request command type.
Definition: nrf_modem_softsim.h:24
@ NRF_MODEM_SOFTSIM_APDU
Transport command, issued by the Modem to request data from the application.
Definition: nrf_modem_softsim.h:28
@ NRF_MODEM_SOFTSIM_INIT
Initialization command.
Definition: nrf_modem_softsim.h:26
@ NRF_MODEM_SOFTSIM_RESET
Reset command, issued by the Modem when a request becomes unresponsive.
Definition: nrf_modem_softsim.h:32
@ NRF_MODEM_SOFTSIM_DEINIT
Deinitialization command.
Definition: nrf_modem_softsim.h:30
void nrf_modem_softsim_data_free(void *data)
Free the data of a SoftSIM request.
int nrf_modem_softsim_res(enum nrf_modem_softsim_cmd cmd, uint16_t req_id, void *data, uint16_t data_len)
Sends a SoftSIM response to a request.
void(* nrf_modem_softsim_req_handler_t)(enum nrf_modem_softsim_cmd cmd, uint16_t req_id, void *data, uint16_t data_len)
Handle a SoftSIM request.
Definition: nrf_modem_softsim.h:49
int nrf_modem_softsim_req_handler_set(nrf_modem_softsim_req_handler_t handler)
Set a handler function for SoftSIM requests.