1 /******************************************************************************
2 *
3 * Copyright 2020-2022 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 }
UpdateReadPending(void * pDevHandle,NfcReadPending eType)25 int NfccTransport::UpdateReadPending(__attribute__((unused)) void* pDevHandle,
26 __attribute__((unused))
27 NfcReadPending eType) {
28 return NFCSTATUS_SUCCESS;
29 }
NfcGetGpioStatus(void * pDevHandle,uint32_t * status)30 int NfccTransport::NfcGetGpioStatus(__attribute__((unused)) void* pDevHandle,
31 __attribute__((unused)) uint32_t* status) {
32 return NFCSTATUS_SUCCESS;
33 }
EseReset(void * pDevHandle,EseResetType eType)34 int NfccTransport::EseReset(__attribute__((unused)) void* pDevHandle,
35 __attribute__((unused)) EseResetType eType) {
36 return NFCSTATUS_SUCCESS;
37 }
EseGetPower(void * pDevHandle,uint32_t level)38 int NfccTransport::EseGetPower(__attribute__((unused)) void* pDevHandle,
39 __attribute__((unused)) uint32_t level) {
40 return NFCSTATUS_SUCCESS;
41 }
42
EnableFwDnldMode(bool mode)43 void NfccTransport::EnableFwDnldMode(__attribute__((unused)) bool mode) {
44 return;
45 }
46
IsFwDnldModeEnabled(void)47 bool_t NfccTransport::IsFwDnldModeEnabled(void) { return false; }
48
Flushdata(pphTmlNfc_Config_t pConfig)49 bool NfccTransport::Flushdata(__attribute__((unused))
50 pphTmlNfc_Config_t pConfig) {
51 return true;
52 }