From 40734e7599249717860f7aeabda494e1bcd86ffe Mon Sep 17 00:00:00 2001 From: Sunil Jogi Date: Thu, 12 Jan 2012 13:47:03 -0800 Subject: Mifare readonly support. This patch requires changes done in following projects submited as patches: 1. packages/apps/Nfc 2. frameworks/base Change-Id: I9036309d82dd897e77f6bc14c30fbde255bf955c --- src/phLibNfc.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/phLibNfc.h') 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 */ -- cgit v1.2.3