History log of /external/libnfc-nxp/src/phFriNfc_NdefMap.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb6da80b266a263350769a0e5629f4089aad32bb 24-Nov-2011 Sunil Jogi <sunil.jogi@nxp.com> Patch to support MIFARE with SAK 0x01

Change-Id: Ifb1389d428855c2eea99390790af13f28571097a
/external/libnfc-nxp/src/phFriNfc_NdefMap.c
d5dae5f9ae4f79985a032d011b6b3d12749823cd 16-Aug-2011 Jack Ren <jack.ren@intel.com> Fix one coding error of using a temporary variable in the global structure NdefMap

In the following code: the local variable PacketDataLength is a local
variable in stack, but used in the ndefMap which is a global structure.
When the function phFriNfc_NdefMap_EraseNdef( ) returns, the
PacketDataLength will be freed, too. If it is used later via the pointer
in NdefMap, will cause some of potential issues. Fix it by re-define it
as static.

NFCSTATUS phFriNfc_NdefMap_EraseNdef(phFriNfc_NdefMap_t *NdefMap)
{
NFCSTATUS status = NFCSTATUS_PENDING;

static uint8_t PktData[3] = PH_FRINFC_NDEFMAP_EMPTY_NDEF_MSG;
uint8_t MemOffset = PH_FRINFC_NDEFMAP_SEEK_BEGIN;
uint32_t PacketDataLength = sizeof(PktData);

...
/* Mifare card selected. Call Mifare Write */
status = phFriNfc_NdefMap_WrNdef( NdefMap,
PktData,
&PacketDataLength,
MemOffset);
break;
...
}

Change-Id: Iee278fe39749619aa44c620138eae85a46f6e4a5
Signed-off-by: Dejan REBRACA <dejanx.rebraca@intel.com>
Signed-off-by: Ken Wahid <kenx.wahid@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
/external/libnfc-nxp/src/phFriNfc_NdefMap.c
4f3ef022906e5d3b763fbcfe81e3f5cd53976ab5 20-Jan-2011 Martijn Coenen <martijn.coenen@nxp.com> Support formatting / makeReadOnly() of NDEF on ICODE.

Change-Id: I2a7a185ead5de8f2b165c81dcc8ab8fb46c1ddc0
/external/libnfc-nxp/src/phFriNfc_NdefMap.c
a6e012a748e70ab203655d4e1c0d0a77b6515fad 13-Jan-2011 Martijn Coenen <martijn.coenen@nxp.com> Added support for NDEF on ICODE.

This patch allows reading and writing of NDEF messages on ICODE tags.

Change-Id: I43b4845c898c2bf268f609a5a81e991460059ff6
/external/libnfc-nxp/src/phFriNfc_NdefMap.c
a6243755a9b438bfbfe0be331ece55953f8cf9eb 13-Jan-2011 Martijn Coenen <martijn.coenen@nxp.com> Implement makeReadOnly() for dynamic T1T/T2T.

The NFC Forum Type 1 Tag and Type 2 Tag specification allows for tags
with a dynamic memory layout. Support for making tags with the dynamic
layout readonly has been added in this patch.

Change-Id: I5bc8912d80f448fdea95e1ee21631c0f186ad79a
/external/libnfc-nxp/src/phFriNfc_NdefMap.c
c0bdf30e40dd60628bfafd5f93a3a911e3b91da9 18-Dec-2010 Martijn Coenen <martijn.coenen@nxp.com> Actually set the lock bits for static T1T and T2T.

Change-Id: I594e588fb7f0f8151e54ac872640bb8d3e19bfce
/external/libnfc-nxp/src/phFriNfc_NdefMap.c
80ee29b88ec489e2bbf6ae446692229d36755429 16-Dec-2010 Martijn Coenen <martijn.coenen@nxp.com> Add support for makeLowLevelReadonly() in libnfc.

Implemented for T1T and T2T.
There's also added code for formatting Desfire EV1, but it will not be used
by the current implementation (DesFIRE doesn't have NdefFormatable tech).

Change-Id: Iec1b85b560fbf800291fd307b56ab84328737635
/external/libnfc-nxp/src/phFriNfc_NdefMap.c
794aa72f7bd1e5b1fb51efb957cb925c7cfed746 30-Nov-2010 Jan Brands <jan.r.brands@nxp.com> This patch allows type 4 tag v2 ndef to be detected properly.

Same as Change-Id: I414e7864bdc654c3b9e1b459832bb8e95ea9c51a

Change-Id: I0a0119349419bb4f1031ab683e40dd3be7b26f5f
/external/libnfc-nxp/src/phFriNfc_NdefMap.c
5d9927ba30ba449badb9f6df0fbeb4d6aedc6e2a 23-Sep-2010 Nick Pelly <npelly@google.com> Initial libnfc checkin

Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010)

Change-Id: Ie47f18423f949a8d3e0815d13f55c814312add24
Signed-off-by: Nick Pelly <npelly@google.com>
/external/libnfc-nxp/src/phFriNfc_NdefMap.c