summaryrefslogtreecommitdiffstats
path: root/src/phLibNfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/phLibNfc.c')
-rw-r--r--src/phLibNfc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/phLibNfc.c b/src/phLibNfc.c
index 008963b..3361f51 100644
--- a/src/phLibNfc.c
+++ b/src/phLibNfc.c
@@ -117,6 +117,19 @@ NFCSTATUS phLibNfc_Download_Mode ()
return phDal4Nfc_Download();
}
+
+extern uint8_t nxp_nfc_isoxchg_timeout;
+NFCSTATUS phLibNfc_SetIsoXchgTimeout(uint8_t timeout) {
+ nxp_nfc_isoxchg_timeout = timeout;
+ return NFCSTATUS_SUCCESS;
+}
+
+extern uint32_t nxp_nfc_hci_response_timeout;
+NFCSTATUS phLibNfc_SetHciTimeout(uint32_t timeout_in_ms) {
+ nxp_nfc_hci_response_timeout = timeout_in_ms;
+ return NFCSTATUS_SUCCESS;
+}
+
/**
* Initialize the phLibNfc interface.
*/