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_LinkMgmt.h *
22 * \brief HCI Header for the Link Management Gate. *
25 * Project: NFC-FRI-1.1 *
27 * $Date: Tue Mar 30 09:32:13 2010 $ *
28 * $Author: ing04880 $ *
30 * $Aliases: 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_LINKMGMT_H
37 #define PHHCINFC_LINKMGMT_H
45 * File: \ref phHciNfc_LinkMgmt.h
49 #define PHHCINFC_LINK_MGMT_FILEREVISION "$Revision: 1.5 $" /**< \ingroup grp_file_attributes */
50 #define PHHCINFC_LINK_MGMT_FILEALIASES "$Aliases: 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_LinkMgmt_Initialise function creates and the opens Link
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 Link 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_LinkMgmt_Initialise(
93 phHciNfc_sContext_t *psHciContext,
97 * \ingroup grp_hci_nfc
99 * The phHciNfc_LinkMgmt_Release function closes the opened pipes between
100 * the Host Controller Device and the NFC Device.
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 Release of the Link Management gate
108 * resources are pending.
109 * \retval NFCSTATUS_INVALID_PARAMETER One or more of the supplied parameters
110 * could not be interpreted properly.
111 * \retval Other errors Errors related to the other layers
116 phHciNfc_LinkMgmt_Release(
117 phHciNfc_sContext_t *psHciContext,
123 * \ingroup grp_hci_nfc
125 * The phHciNfc_LinkMgmt_Open function opens Link
128 * \param[in] psHciContext psHciContext is the pointer to HCI Layer
130 * \param[in] pHwRef pHwRef is the Information of
131 * the Device Interface Link .
133 * \retval NFCSTATUS_PENDING Link Mgmt Gate open is pending.
134 * \retval NFCSTATUS_INVALID_PARAMETER One or more of the supplied parameters
135 * could not be interpreted properly.
136 * \retval Other errors Errors related to the other layers
142 phHciNfc_LinkMgmt_Open(
143 phHciNfc_sContext_t *psHciContext,