<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NFC Tag Type for rwpayload and staticpayload at same time.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20701/nfc-tag-type-for-rwpayload-and-staticpayload-at-same-time</link><description>Hello, 
 I want to define a writable payload section and a static payload section (not writable) in one tag is this possible? 
 I have now implemented it like this, but that only gives me the static payload. 
 void nfc_init(void)
 
 {
uint32_t err_code;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Apr 2017 22:06:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20701/nfc-tag-type-for-rwpayload-and-staticpayload-at-same-time" /><item><title>RE: NFC Tag Type for rwpayload and staticpayload at same time.</title><link>https://devzone.nordicsemi.com/thread/80751?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 22:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4044fcb6-14bc-4511-9de3-33dfb9351a46</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;Hi michaeld, what libaries are you using? I am trying to do the same task, but I am a little missing about the uuid_msg_encode and name_msg_encode you are using. where are it defined?
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Tag Type for rwpayload and staticpayload at same time.</title><link>https://devzone.nordicsemi.com/thread/80750?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 14:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:770deb1f-7fb9-46e9-b9c0-5c01fb9236c8</guid><dc:creator>michaeld</dc:creator><description>&lt;p&gt;Thanks! I will check out these things and report back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Tag Type for rwpayload and staticpayload at same time.</title><link>https://devzone.nordicsemi.com/thread/80749?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 14:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf47a603-17f2-429d-af54-64f9c099a365</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hi, according to the Type 4 Tag specification, I think it should be possible to have multiple NDEF files in a tag. However the Type 4 Tag library in the nRF5 SDK supports just a single NDEF file as part of the T4 Tag.&lt;/p&gt;
&lt;p&gt;The code above basically overwrites the read/write content by static content (non-writable).&lt;/p&gt;
&lt;p&gt;So to have both a read-only and R/W content at the same time, you will have 2 options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;keep an NDEF data backup for the non-writable data, and once the non-writable section is updated by the Reader/Writer, the application can revert this data using the mentioned backup. In this solution keep in mind, that the reader will think the update was successful (it will get back status word &amp;quot;success&amp;quot;). Also remember to keep the NLEN (NDEF length) field compatible when reverting updates.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;use nfc_t4t_lib in raw mode, running pure ISO-DEP commands (as described in the SDK documentation: &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v13.0.0%2Fnfc_type4tag_dox.html&amp;amp;cp=4_0_0_3_24_4"&gt;T4T doc&lt;/a&gt;) and implement multiple NDEF file emulation on application level. Then the separate NDEF files can have different access rights.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Regards,
Michał&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>