/** | |
* @file accessManager_com.h | |
* @author NXP Semiconductors | |
* @version 1.0 | |
* @section LICENSE | |
* ---------------------------------------------------------------------------- | |
* | |
* Copyright 2016, 2020 NXP | |
* SPDX-License-Identifier: Apache-2.0 | |
* ---------------------------------------------------------------------------- | |
* @section DESCRIPTION | |
* This file defines the API of the RemoteJCTerminal implementation. | |
* ---------------------------------------------------------------------------- | |
* @section HISTORY | |
* 1.0 06-may-2014 : Initial version | |
* | |
*****************************************************************************/ | |
#ifndef _ACCESS_MANAGER_COM_H_ | |
#define _ACCESS_MANAGER_COM_H_ | |
#include "sm_types.h" | |
typedef struct { | |
U16 param1; | |
U16 param2; | |
U32 appletVersion; | |
U16 sbVersion; | |
} SmCommStateAm_t; | |
U16 SM_ConnectAm(SmCommStateAm_t *commState, U8 *atr, U16 *atrLen); | |
U16 SM_SendAPDUAm(U8 *cmd, U16 cmdLen, U8 *resp, U16 *respLen, U8 platformSCP03_On); | |
U16 SM_CloseAm(U8 mode); | |
U16 SM_EstablishPlatformSCP03Am(SmCommStateAm_t *commState); | |
#endif // _ACCESS_MANAGER_COM_H_ |