/* * Copyright (c), NXP Semiconductors Caen / France * * (C)NXP Semiconductors * All rights are reserved. Reproduction in whole or in part is * prohibited without the written consent of the copyright owner. * NXP reserves the right to make changes without notice at any time. * NXP makes no warranty, expressed, implied or statutory, including but * not limited to any implied warranty of merchantability or fitness for any *particular purpose, or that the use will not infringe any third party patent, * copyright or trademark. NXP must not be liable for any loss or damage * arising from its use. */ #include #ifdef CARDEMU_SUPPORT #include #endif #ifdef P2P_SUPPORT #include #endif #ifdef RW_SUPPORT #include #include #endif #define NXPNCI_SUCCESS NFC_SUCCESS #define NXPNCI_ERROR NFC_ERROR #ifdef NCI_DEBUG #include #define NCI_PRINT(...) {printf(__VA_ARGS__);} unsigned short debug_loop; #define NCI_PRINT_LOOP(x,y) {for(debug_loop=0; debug_loop