1 /******************************************************************************
2 *
3 * Copyright 2020 NXP
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 ******************************************************************************/
18
19 #include <NfccTransport.h>
20
NfccReset(void * pDevHandle,NfccResetType eType)21 int NfccTransport::NfccReset(__attribute__((unused)) void* pDevHandle,
22 __attribute__((unused)) NfccResetType eType) {
23 return NFCSTATUS_SUCCESS;
24 }
25
EseReset(void * pDevHandle,EseResetType eType)26 int NfccTransport::EseReset(__attribute__((unused)) void* pDevHandle,
27 __attribute__((unused)) EseResetType eType) {
28 return NFCSTATUS_SUCCESS;
29 }
EseGetPower(void * pDevHandle,long level)30 int NfccTransport::EseGetPower(__attribute__((unused)) void* pDevHandle,
31 __attribute__((unused)) long level) {
32 return NFCSTATUS_SUCCESS;
33 }
34
GetPlatform(void * pDevHandle)35 int NfccTransport::GetPlatform(__attribute__((unused)) void* pDevHandle) {
36 return 0x00;
37 }
38
GetNfcState(void * pDevHandle)39 int NfccTransport::GetNfcState(__attribute__((unused)) void* pDevHandle) {
40 return NFC_STATE_UNKNOWN;
41 }
42
EnableFwDnldMode(bool mode)43 void NfccTransport::EnableFwDnldMode(__attribute__((unused)) bool mode) {
44 return;
45 }
GetIrqState(void * pDevHandle)46 int NfccTransport::GetIrqState(__attribute__((unused)) void* pDevHandle) {
47 return -1;
48 }
49
IsFwDnldModeEnabled(void)50 bool_t NfccTransport::IsFwDnldModeEnabled(void) { return false; }
51