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 * =========================================================================== *
22 * \brief Download Mgmt Header for the Generic Download Management. *
25 * Project: NFC-FRI-1.1 *
27 * $Date: Thu Aug 26 15:39:56 2010 $ *
28 * $Author: ing04880 $ *
32 * =========================================================================== *
45 * File: \ref phDnldNfc.h
49 #define PH_DNLDNFC_FILEREVISION "$Revision: 1.7 $" /**< \ingroup grp_file_attributes */
50 #define PH_DNLDNFC_FILEALIASES "$Aliases: $" /**< \ingroup grp_file_attributes */
54 ################################################################################
55 ***************************** Header File Inclusion ****************************
56 ################################################################################
59 #include <phNfcStatus.h>
60 #include <phNfcInterface.h>
63 ################################################################################
64 ****************************** Macro Definitions *******************************
65 ################################################################################
70 ################################################################################
71 ******************** Enumeration and Structure Definition **********************
72 ################################################################################
76 extern const uint8_t *nxp_nfc_fw;
77 #endif /* NXP_FW_PARAM */
83 ################################################################################
84 *********************** Function Prototype Declaration *************************
85 ################################################################################
89 * \ingroup grp_hci_nfc
91 * The phDnldNfc_Upgrade function Upgrades the firmware of
92 * connected NFC Device with the data provided.
94 * \param[in] pHwRef pHwRef is the Information of
95 * the Device Interface Link .
96 * \param[in] pHalNotify Upper layer Notification function
98 * \param[in] psContext psContext is the context of
101 * \retval NFCSTATUS_PENDING Upgrade of Download Layer is in Progress.
102 * \retval NFCSTATUS_INVALID_PARAMETER One or more of the supplied parameters
103 * could not be interpreted properly.
104 * \retval Other errors Errors related to the other layers
111 phHal_sHwReference_t *pHwRef,
116 pphNfcIF_Notification_CB_t upgrade_complete,
121 #if !defined (NXP_FW_INTEGRITY_VERIFY)
126 phHal_sHwReference_t *pHwRef
132 #endif /* #if !defined (NXP_FW_INTEGRITY_VERIFY) */
135 #endif /* PHDNLDNFC_H */