nrfxlib API 2.8.99
|
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.
cmd | SoftSIM response command. | |
req_id | Request ID used to match request and response. | |
[in] | data | Pointer to the data of the SoftSIM response. |
data_len | Length of the data of the SoftSIM response. |
0 | on success. |
-NRF_EINVAL | If input data is invalid. |
-NRF_ENOMEM | If memory allocation failed. |