summaryrefslogtreecommitdiffstats
path: root/src/phLibNfc.h
diff options
context:
space:
mode:
authorSunil Jogi <sunil.jogi@nxp.com>2012-01-12 13:47:03 -0800
committerMartijn Coenen <maco@google.com>2012-04-02 10:35:05 -0700
commit40734e7599249717860f7aeabda494e1bcd86ffe (patch)
tree751c039f155c81680dfa35ce81eef53046a506ae /src/phLibNfc.h
parenteb6da80b266a263350769a0e5629f4089aad32bb (diff)
downloadexternal_libnfc-nxp-40734e7599249717860f7aeabda494e1bcd86ffe.zip
external_libnfc-nxp-40734e7599249717860f7aeabda494e1bcd86ffe.tar.gz
external_libnfc-nxp-40734e7599249717860f7aeabda494e1bcd86ffe.tar.bz2
Mifare readonly support.
This patch requires changes done in following projects submited as patches: 1. packages/apps/Nfc 2. frameworks/base Change-Id: I9036309d82dd897e77f6bc14c30fbde255bf955c
Diffstat (limited to 'src/phLibNfc.h')
-rw-r--r--src/phLibNfc.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/phLibNfc.h b/src/phLibNfc.h
index e4e41cf..1eb62ae 100644
--- a/src/phLibNfc.h
+++ b/src/phLibNfc.h
@@ -1991,6 +1991,8 @@ NFCSTATUS phLibNfc_RemoteDev_FormatNdef(phLibNfc_Handle hRemoteDevice,
*\param[in] hRemoteDevice handle of the remote device.This handle to be
* same as as handle obtained for specific remote device
* during device discovery.
+*\param[in] pScrtKey Key to be used for making Mifare read only. This parameter is
+* unused in case of readonly for other cards.
*\param[in] pNdefReadOnly_RspCb Response callback defined by the caller.
*\param[in] pContext Client context which will be included in
* callback when the request is completed.
@@ -2037,9 +2039,10 @@ NFCSTATUS phLibNfc_RemoteDev_FormatNdef(phLibNfc_Handle hRemoteDevice,
* \param NFCSTATUS_FAILED Request failed.
*/
-NFCSTATUS phLibNfc_ConvertToReadOnlyNdef (phLibNfc_Handle hRemoteDevice,
- pphLibNfc_RspCb_t pNdefReadOnly_RspCb,
- void* pContext
+NFCSTATUS phLibNfc_ConvertToReadOnlyNdef (phLibNfc_Handle hRemoteDevice,
+ phNfc_sData_t* pScrtKey,
+ pphLibNfc_RspCb_t pNdefReadOnly_RspCb,
+ void* pContext
);
#endif /* #ifdef LIBNFC_READONLY_NDEF */