<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_external_libnfc-nxp/src/phFriNfc_NdefMap.c, branch lineage-15.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/'/>
<entry>
<title>Patch to support MIFARE with SAK 0x01</title>
<updated>2012-04-02T17:34:02+00:00</updated>
<author>
<name>Sunil Jogi</name>
<email>sunil.jogi@nxp.com</email>
</author>
<published>2011-11-23T23:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=eb6da80b266a263350769a0e5629f4089aad32bb'/>
<id>eb6da80b266a263350769a0e5629f4089aad32bb</id>
<content type='text'>
Change-Id: Ifb1389d428855c2eea99390790af13f28571097a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ifb1389d428855c2eea99390790af13f28571097a
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix one coding error of using a temporary variable in the global structure NdefMap</title>
<updated>2012-03-01T03:30:01+00:00</updated>
<author>
<name>Jack Ren</name>
<email>jack.ren@intel.com</email>
</author>
<published>2011-08-16T17:17:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=d5dae5f9ae4f79985a032d011b6b3d12749823cd'/>
<id>d5dae5f9ae4f79985a032d011b6b3d12749823cd</id>
<content type='text'>
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,
                    &amp;PacketDataLength,
                    MemOffset);
                break;
...
}

Change-Id: Iee278fe39749619aa44c620138eae85a46f6e4a5
Signed-off-by: Dejan REBRACA &lt;dejanx.rebraca@intel.com&gt;
Signed-off-by: Ken Wahid &lt;kenx.wahid@intel.com&gt;
Signed-off-by: Jack Ren &lt;jack.ren@intel.com&gt;
Signed-off-by: Bruce Beare &lt;bruce.j.beare@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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,
                    &amp;PacketDataLength,
                    MemOffset);
                break;
...
}

Change-Id: Iee278fe39749619aa44c620138eae85a46f6e4a5
Signed-off-by: Dejan REBRACA &lt;dejanx.rebraca@intel.com&gt;
Signed-off-by: Ken Wahid &lt;kenx.wahid@intel.com&gt;
Signed-off-by: Jack Ren &lt;jack.ren@intel.com&gt;
Signed-off-by: Bruce Beare &lt;bruce.j.beare@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support formatting / makeReadOnly() of NDEF on ICODE.</title>
<updated>2011-02-24T21:44:34+00:00</updated>
<author>
<name>Martijn Coenen</name>
<email>martijn.coenen@nxp.com</email>
</author>
<published>2011-01-20T00:27:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=4f3ef022906e5d3b763fbcfe81e3f5cd53976ab5'/>
<id>4f3ef022906e5d3b763fbcfe81e3f5cd53976ab5</id>
<content type='text'>
Change-Id: I2a7a185ead5de8f2b165c81dcc8ab8fb46c1ddc0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2a7a185ead5de8f2b165c81dcc8ab8fb46c1ddc0
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for NDEF on ICODE.</title>
<updated>2011-02-24T21:44:34+00:00</updated>
<author>
<name>Martijn Coenen</name>
<email>martijn.coenen@nxp.com</email>
</author>
<published>2011-01-13T22:24:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=a6e012a748e70ab203655d4e1c0d0a77b6515fad'/>
<id>a6e012a748e70ab203655d4e1c0d0a77b6515fad</id>
<content type='text'>
This patch allows reading and writing of NDEF messages on ICODE tags.

Change-Id: I43b4845c898c2bf268f609a5a81e991460059ff6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch allows reading and writing of NDEF messages on ICODE tags.

Change-Id: I43b4845c898c2bf268f609a5a81e991460059ff6
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement makeReadOnly() for dynamic T1T/T2T.</title>
<updated>2011-01-18T19:17:30+00:00</updated>
<author>
<name>Martijn Coenen</name>
<email>martijn.coenen@nxp.com</email>
</author>
<published>2011-01-13T09:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=a6243755a9b438bfbfe0be331ece55953f8cf9eb'/>
<id>a6243755a9b438bfbfe0be331ece55953f8cf9eb</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Actually set the lock bits for static T1T and T2T.</title>
<updated>2011-01-04T02:15:24+00:00</updated>
<author>
<name>Martijn Coenen</name>
<email>martijn.coenen@nxp.com</email>
</author>
<published>2010-12-18T11:09:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=c0bdf30e40dd60628bfafd5f93a3a911e3b91da9'/>
<id>c0bdf30e40dd60628bfafd5f93a3a911e3b91da9</id>
<content type='text'>
Change-Id: I594e588fb7f0f8151e54ac872640bb8d3e19bfce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I594e588fb7f0f8151e54ac872640bb8d3e19bfce
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for makeLowLevelReadonly() in libnfc.</title>
<updated>2010-12-17T00:49:43+00:00</updated>
<author>
<name>Martijn Coenen</name>
<email>martijn.coenen@nxp.com</email>
</author>
<published>2010-12-16T22:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=80ee29b88ec489e2bbf6ae446692229d36755429'/>
<id>80ee29b88ec489e2bbf6ae446692229d36755429</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>This patch allows type 4 tag v2 ndef to be detected properly.</title>
<updated>2010-12-05T21:14:46+00:00</updated>
<author>
<name>Jan Brands</name>
<email>jan.r.brands@nxp.com</email>
</author>
<published>2010-11-30T22:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=794aa72f7bd1e5b1fb51efb957cb925c7cfed746'/>
<id>794aa72f7bd1e5b1fb51efb957cb925c7cfed746</id>
<content type='text'>
Same as Change-Id: I414e7864bdc654c3b9e1b459832bb8e95ea9c51a

Change-Id: I0a0119349419bb4f1031ab683e40dd3be7b26f5f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Same as Change-Id: I414e7864bdc654c3b9e1b459832bb8e95ea9c51a

Change-Id: I0a0119349419bb4f1031ab683e40dd3be7b26f5f
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial libnfc checkin</title>
<updated>2010-09-23T20:53:18+00:00</updated>
<author>
<name>Nick Pelly</name>
<email>npelly@google.com</email>
</author>
<published>2010-09-23T19:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_libnfc-nxp/commit/?id=5d9927ba30ba449badb9f6df0fbeb4d6aedc6e2a'/>
<id>5d9927ba30ba449badb9f6df0fbeb4d6aedc6e2a</id>
<content type='text'>
Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010)

Change-Id: Ie47f18423f949a8d3e0815d13f55c814312add24
Signed-off-by: Nick Pelly &lt;npelly@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010)

Change-Id: Ie47f18423f949a8d3e0815d13f55c814312add24
Signed-off-by: Nick Pelly &lt;npelly@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
