2 * Copyright (C) 2010 NXP Semiconductors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * =========================================================================== *
21 * \file phHciNfc_IDMgmt.h *
22 * \brief HCI Header for the Identity Management Gate. *
25 * Project: NFC-FRI-1.1 *
27 * $Date: Fri Aug 14 17:01:26 2009 $ *
28 * $Author: ing04880 $ *
30 * $Aliases: NFC_FRI1.1_WK934_R31_1,NFC_FRI1.1_WK941_PREP1,NFC_FRI1.1_WK941_PREP2,NFC_FRI1.1_WK941_1,NFC_FRI1.1_WK943_R32_1,NFC_FRI1.1_WK949_PREP1,NFC_FRI1.1_WK943_R32_10,NFC_FRI1.1_WK943_R32_13,NFC_FRI1.1_WK943_R32_14,NFC_FRI1.1_WK1007_R33_1,NFC_FRI1.1_WK1007_R33_4,NFC_FRI1.1_WK1017_PREP1,NFC_FRI1.1_WK1017_R34_1,NFC_FRI1.1_WK1017_R34_2,NFC_FRI1.1_WK1023_R35_1 $ *
32 * =========================================================================== *
36 #ifndef PHHCINFC_IDMGMT_H
37 #define PHHCINFC_IDMGMT_H
45 * File: \ref phHciNfc_IDMgmt.h
49 #define PHHCINFC_IDMGMT_FILEREVISION "$Revision: 1.5 $" /**< \ingroup grp_file_attributes */
50 #define PHHCINFC_IDMGMT_FILEALIASES "$Aliases: NFC_FRI1.1_WK934_R31_1,NFC_FRI1.1_WK941_PREP1,NFC_FRI1.1_WK941_PREP2,NFC_FRI1.1_WK941_1,NFC_FRI1.1_WK943_R32_1,NFC_FRI1.1_WK949_PREP1,NFC_FRI1.1_WK943_R32_10,NFC_FRI1.1_WK943_R32_13,NFC_FRI1.1_WK943_R32_14,NFC_FRI1.1_WK1007_R33_1,NFC_FRI1.1_WK1007_R33_4,NFC_FRI1.1_WK1017_PREP1,NFC_FRI1.1_WK1017_R34_1,NFC_FRI1.1_WK1017_R34_2,NFC_FRI1.1_WK1023_R35_1 $" /**< \ingroup grp_file_attributes */
54 ***************************** Header File Inclusion ****************************
57 #include <phHciNfc_Generic.h>
60 ****************************** Macro Definitions *******************************
64 ******************** Enumeration and Structure Definition **********************
70 *********************** Function Prototype Declaration *************************
74 * \ingroup grp_hci_nfc
76 * The phHciNfc_IDMgmt_Initialise function creates and the opens Identity
79 * \param[in] psHciContext psHciContext is the pointer to HCI Layer
81 * \param[in] pHwRef pHwRef is the Information of
82 * the Device Interface Link .
84 * \retval NFCSTATUS_PENDING Identity Mgmt Gate Initialisation is pending.
85 * \retval NFCSTATUS_INVALID_PARAMETER One or more of the supplied parameters
86 * could not be interpreted properly.
87 * \retval Other errors Errors related to the other layers
92 phHciNfc_IDMgmt_Initialise(
93 phHciNfc_sContext_t *psHciContext,
97 * \ingroup grp_hci_nfc
99 * The phHciNfc_IDMgmt_Info_Sequence function obtains the information
100 * from the Identity Management Gate
102 * \param[in] psHciContext psHciContext is the pointer to HCI Layer
104 * \param[in] pHwRef pHwRef is the Information of
105 * the Device Interface Link .
107 * \retval NFCSTATUS_PENDING Identity Mgmt Gate Information is pending.
108 * \retval NFCSTATUS_INVALID_PARAMETER One or more of the supplied parameters
109 * could not be interpreted properly.
110 * \retval Other errors Errors related to the other layers
115 phHciNfc_IDMgmt_Info_Sequence(
116 phHciNfc_sContext_t *psHciContext,
121 * \ingroup grp_hci_nfc
123 * The phHciNfc_IDMgmt_Release function closes the opened pipes between
124 * the Host Controller Device and the NFC Device.
126 * \param[in] psHciContext psHciContext is the pointer to HCI Layer
128 * \param[in] pHwRef pHwRef is the Information of
129 * the Device Interface Link .
131 * \retval NFCSTATUS_PENDING Release of the Identity Management gate
132 * resources are pending.
133 * \retval NFCSTATUS_INVALID_PARAMETER One or more of the supplied parameters
134 * could not be interpreted properly.
135 * \retval Other errors Errors related to the other layers
140 phHciNfc_IDMgmt_Release(
141 phHciNfc_sContext_t *psHciContext,
146 * \ingroup grp_hci_nfc
148 * The phHciNfc_IDMgmt_Update_PipeInfo function updates the pipe_id of the Idetity
149 * Gate Managment Struction.
151 * \param[in] psHciContext psHciContext is the pointer to HCI Layer
153 * \param[in] pipeID pipeID of the Identity management Gate
154 * \param[in] pPipeInfo Update the pipe Information of the Identity
157 * \retval NFCSTATUS_SUCCESS AdminGate Response received Successfully.
158 * \retval NFCSTATUS_INVALID_PARAMETER One or more of the supplied parameters
159 * could not be interpreted properly.
165 phHciNfc_IDMgmt_Update_PipeInfo(
166 phHciNfc_sContext_t *psHciContext,
168 phHciNfc_Pipe_Info_t *pPipeInfo
173 * \brief Updates the Sequence of Identity Managment Gate.
175 * This function Updates the Sequence of the Identity Management
176 * gate Information Structure.
181 phHciNfc_IDMgmt_Update_Sequence(
182 phHciNfc_sContext_t *psHciContext,
183 phHciNfc_eSeqType_t reader_seq
187 * \brief Allocates the resources of Identity Managment Gate.
189 * This function Allocates the resources of the Identity Management
190 * gate Information Structure.
195 phHciNfc_IDMgmt_Init_Resources(
196 phHciNfc_sContext_t *psHciContext
201 * \brief Get the pipe_id of Identity Managment Gate.
203 * This function Get the pipe_id of Identity Managment Gate.
209 phHciNfc_IDMgmt_Get_PipeID(
210 phHciNfc_sContext_t *psHciContext,