le_rsim_interface.h
Go to the documentation of this file.
49 * The communication between the application and the remote SIM service uses the SIM Access Profile58 * <tr><td rowspan="5">Connection management <td>CONNECT_REQ <td rowspan="5">Mandatory <td>Supported63 * <tr><td rowspan="2">Transfer APDU <td>TRANSFER_APDU_REQ <td rowspan="2">Mandatory <td>Supported74 * <tr><td rowspan="2">Transfer Card Reader Status <td>TRANSFER_CARD_READER_STATUS_REQ <td rowspan="2">Optional <td>Not supported77 * <tr><td rowspan="2">Set Transport Protocol <td>SET_TRANSPORT_PROTOCOL_REQ <td rowspan="2">Optional <td>Not supported83 * that the remote SIM server is ready to receive messages and that a remote SIM card is available.129 //--------------------------------------------------------------------------------------------------132 * Connect the current client thread to the service providing this API. Block until the service is135 * For each thread that wants to use this API, either ConnectService or TryConnectService must be136 * called before any other functions in this API. Normally, ConnectService is automatically called141 //--------------------------------------------------------------------------------------------------147 //--------------------------------------------------------------------------------------------------150 * Try to connect the current client thread to the service providing this API. Return with an error153 * For each thread that wants to use this API, either ConnectService or TryConnectService must be154 * called before any other functions in this API. Normally, ConnectService is automatically called161 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.162 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).165 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------177 * longer a connection to the service, and the functions in this API can't be used. For details, see182 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------198 //--------------------------------------------------------------------------------------------------202 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------214 //--------------------------------------------------------------------------------------------------218 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------233 (240 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------252 (258 //--------------------------------------------------------------------------------------------------264 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------278 //--------------------------------------------------------------------------------------------------285 //--------------------------------------------------------------------------------------------------293 * @warning The sending process is asynchronous: only the message length is checked by this function297 //--------------------------------------------------------------------------------------------------void(* le_rsim_MessageHandlerFunc_t)(const uint8_t *messagePtr, size_t messageNumElements, void *contextPtr)Definition: le_rsim_interface.h:233void le_rsim_ConnectService(void)struct le_rsim_MessageHandler * le_rsim_MessageHandlerRef_tDefinition: le_rsim_interface.h:219void(* le_rsim_CallbackHandlerFunc_t)(uint8_t messageId, le_result_t result, void *contextPtr)Definition: le_rsim_interface.h:252void le_rsim_DisconnectService(void)void le_rsim_RemoveMessageHandler(le_rsim_MessageHandlerRef_t addHandlerRef)le_result_t le_rsim_SendMessage(const uint8_t *messagePtr, size_t messageNumElements, le_rsim_CallbackHandlerFunc_t callbackPtr, void *contextPtr)le_result_t le_rsim_TryConnectService(void)le_rsim_MessageHandlerRef_t le_rsim_AddMessageHandler(le_rsim_MessageHandlerFunc_t handlerPtr, void *contextPtr)