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

API to mediate SoftSIM exchanges between Modem and application. More...

Typedefs

typedef 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.
 

Enumerations

enum  nrf_modem_softsim_cmd { NRF_MODEM_SOFTSIM_INIT = 1 , NRF_MODEM_SOFTSIM_APDU = 3 , NRF_MODEM_SOFTSIM_DEINIT = 4 , NRF_MODEM_SOFTSIM_RESET = 5 }
 SoftSIM request command type. More...
 

Functions

int nrf_modem_softsim_req_handler_set (nrf_modem_softsim_req_handler_t handler)
 Set a handler function for SoftSIM requests.
 
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.
 
int nrf_modem_softsim_err (enum nrf_modem_softsim_cmd cmd, uint16_t req_id)
 Sends a SoftSIM error to a request.
 
void nrf_modem_softsim_data_free (void *data)
 Free the data of a SoftSIM request.
 

Detailed Description

API to mediate SoftSIM exchanges between Modem and application.