Home | History | Annotate | Download | only in src
      1 /*
      2  * Copyright (C) 2010 NXP Semiconductors
      3  *
      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
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     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.
     15  */
     16 
     17 /*!
     18  * \file  phLibNfc_initiator.h
     19  *
     20  * Project: NFC-FRI 1.1
     21  *
     22  * $Workfile:: phLibNfc_1.1.h  $
     23  * $Modtime::         $
     24  * $Author: ing07299 $
     25  * $Revision: 1.13 $
     26  *
     27  */
     28 #ifndef PHLIBNFC_INITIATOR_H
     29 #define PHLIBNFC_INITIATOR_H
     30 
     31 typedef struct phLibNfc_NfcIpInfo
     32 {
     33     phNfc_sData_t                *p_recv_data;
     34     uint32_t                     recv_index;
     35      /*NFC-IP Call back & it's context*/
     36     pphLibNfc_RspCb_t            pClientNfcIpCfgCb;
     37     void                         *pClientNfcIpCfgCntx;
     38     /*NFC-IP send callback and its context*/
     39     pphLibNfc_RspCb_t            pClientNfcIpTxCb;
     40     void                         *pClientNfcIpTxCntx;
     41 
     42     /*NFC-IP receive callback and its context*/
     43     pphLibNfc_Receive_RspCb_t    pClientNfcIpRxCb;
     44     void                         *pClientNfcIpRxCntx;
     45     /*Store the role of remote device*/
     46     phHal4Nfc_TransactInfo_t     TransactInfoRole;
     47 
     48     /*NFC IP remote initator handle */
     49     uint32_t                     Rem_Initiator_Handle;
     50 
     51 }phLibNfc_NfcIpInfo_t;
     52 
     53 
     54 #endif
     55 
     56 
     57