blob: e3637196262e1415c06f2e336b2f0b71cc775d27 [file] [log] [blame]
nxpandroid64fd68c2015-09-23 16:45:15 +05301/*
2 * Copyright (C) 2015 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
17extern "C"
18{
19 #include "nfa_ee_api.h"
20}
21
22 /*******************************************************************************
23 **
24 ** Function: initialize
25 **
26 ** Description: Initialize the channel.
27 **
28 ** Returns: True if ok.
29 **
30 *******************************************************************************/
31 extern bool dwpChannelForceClose;
32 INT16 open();
33 bool close(INT16 mHandle);
34
35 bool transceive (UINT8* xmitBuffer, INT32 xmitBufferSize, UINT8* recvBuffer,
36 INT32 recvBufferMaxSize, INT32& recvBufferActualSize, INT32 timeoutMillisec);
37
38 void doeSE_Reset();
39 void doDwpChannel_ForceExit();