nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_modem_softsim_res()

int nrf_modem_softsim_res ( enum nrf_modem_softsim_cmd cmd,
uint16_t req_id,
void * data,
uint16_t data_len )

#include <nrf_modem/include/nrf_modem_softsim.h>

Sends a SoftSIM response to a request.

This function is used to respond to the Modem with the data requested by a specific request.

Parameters
cmdSoftSIM response command.
req_idRequest ID used to match request and response.
[in]dataPointer to the data of the SoftSIM response.
data_lenLength of the data of the SoftSIM response.
Return values
0on success.
-NRF_EINVALIf input data is invalid.
-NRF_ENOMEMIf memory allocation failed.