le_rsim_interface.h
Go to the documentation of this file.
51 * The communication between the application and the remote SIM service uses the SIM Access Profile60 * <tr><td rowspan="5">Connection management <td>CONNECT_REQ <td rowspan="5">Mandatory <td>Supported65 * <tr><td rowspan="2">Transfer APDU <td>TRANSFER_APDU_REQ <td rowspan="2">Mandatory <td>Supported76 * <tr><td rowspan="2">Transfer Card Reader Status <td>TRANSFER_CARD_READER_STATUS_REQ <td rowspan="2">Optional <td>Not supported79 * <tr><td rowspan="2">Set Transport Protocol <td>SET_TRANSPORT_PROTOCOL_REQ <td rowspan="2">Optional <td>Not supported85 * that the remote SIM server is ready to receive messages and that a remote SIM card is available.133 //--------------------------------------------------------------------------------------------------137 //--------------------------------------------------------------------------------------------------140 //--------------------------------------------------------------------------------------------------143 * Connect the current client thread to the service providing this API. Block until the service is146 * For each thread that wants to use this API, either ConnectService or TryConnectService must be147 * called before any other functions in this API. Normally, ConnectService is automatically called152 //--------------------------------------------------------------------------------------------------158 //--------------------------------------------------------------------------------------------------161 * Try to connect the current client thread to the service providing this API. Return with an error164 * For each thread that wants to use this API, either ConnectService or TryConnectService must be165 * called before any other functions in this API. Normally, ConnectService is automatically called174 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).177 //--------------------------------------------------------------------------------------------------183 //--------------------------------------------------------------------------------------------------187 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants190 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------203 * longer a connection to the service, and the functions in this API can't be used. For details, see208 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------219 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------226 //--------------------------------------------------------------------------------------------------229 //--------------------------------------------------------------------------------------------------233 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------251 //--------------------------------------------------------------------------------------------------255 //--------------------------------------------------------------------------------------------------262 //--------------------------------------------------------------------------------------------------270 * @warning The sending process is asynchronous: only the message length is checked by this function274 //--------------------------------------------------------------------------------------------------le_result_t le_rsim_SendMessage(const uint8_t *messagePtr, size_t messageSize, le_rsim_CallbackHandlerFunc_t callbackPtr, void *contextPtr)void(* le_rsim_DisconnectHandler_t)(void *)Definition: le_rsim_interface.h:138void le_rsim_ConnectService(void)void le_rsim_DisconnectService(void)LE_FULL_API void le_rsim_SetServerDisconnectHandler(le_rsim_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_rsim_TryConnectService(void)void le_rsim_RemoveMessageHandler(le_rsim_MessageHandlerRef_t handlerRef)le_rsim_MessageHandlerRef_t le_rsim_AddMessageHandler(le_rsim_MessageHandlerFunc_t handlerPtr, void *contextPtr)