2 * Copyright (C) 2010 NXP Semiconductors
\r
4 * Licensed under the Apache License, Version 2.0 (the "License");
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.apache.org/licenses/LICENSE-2.0
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an "AS IS" BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
18 * \file phLibNfc_initiator.h
\r
20 * Project: NFC-FRI 1.1
\r
22 * $Workfile:: phLibNfc_1.1.h $
\r
24 * $Author: ing07299 $
\r
28 #ifndef PHLIBNFC_INITIATOR_H
\r
29 #define PHLIBNFC_INITIATOR_H
\r
31 typedef struct phLibNfc_NfcIpInfo
\r
33 phNfc_sData_t *p_recv_data;
\r
34 uint32_t recv_index;
\r
35 /*NFC-IP Call back & it's context*/
\r
36 pphLibNfc_RspCb_t pClientNfcIpCfgCb;
\r
37 void *pClientNfcIpCfgCntx;
\r
38 /*NFC-IP send callback and its context*/
\r
39 pphLibNfc_RspCb_t pClientNfcIpTxCb;
\r
40 void *pClientNfcIpTxCntx;
\r
42 /*NFC-IP receive callback and its context*/
\r
43 pphLibNfc_Receive_RspCb_t pClientNfcIpRxCb;
\r
44 void *pClientNfcIpRxCntx;
\r
45 /*Store the role of remote device*/
\r
46 phHal4Nfc_TransactInfo_t TransactInfoRole;
\r
48 /*NFC IP remote initator handle */
\r
49 uint32_t Rem_Initiator_Handle;
\r
51 }phLibNfc_NfcIpInfo_t;
\r