<?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>nRF52 NFC record_text example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19627/nrf52-nfc-record_text-example</link><description>Hi all, 
 Is possible using NFC to send variable message? I want to send a counter event (data I got via BLE) to the NFC module. 
 Using the example I was not able to do it because the message has to be &amp;quot;constant&amp;quot; 
 inside the XX_record_add functions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Jul 2017 12:32:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19627/nrf52-nfc-record_text-example" /><item><title>RE: nRF52 NFC record_text example</title><link>https://devzone.nordicsemi.com/thread/76392?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 12:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd426057-4936-49df-a3f0-d197cba1d6d8</guid><dc:creator>michaeld</dc:creator><description>&lt;p&gt;Yes BLE works fine and no errors on the NFC Lib functions.&lt;/p&gt;
&lt;p&gt;Please take a look at my code:
&lt;a href="https://drive.google.com/file/d/0BzpFgmrGIaGtQ3h6bmlXc1NaUm8/view?usp=sharing"&gt;nfc_type2.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 NFC record_text example</title><link>https://devzone.nordicsemi.com/thread/76391?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 08:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2699e0be-d7c1-4c08-94f5-28b1efaec6da</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Is BLE still working on the device after reading using NFC? Have you tried &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;debugging&lt;/a&gt;, to see if any error codes are returned?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 NFC record_text example</title><link>https://devzone.nordicsemi.com/thread/76393?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 14:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1506bf-08d4-4bb3-9b1e-f60e6e4b9d9b</guid><dc:creator>michaeld</dc:creator><description>&lt;p&gt;I tried doing this in my code with softdevice but I can only read the NFC ones and then I cannot read it again. Any idea why this would be the case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 NFC record_text example</title><link>https://devzone.nordicsemi.com/thread/76390?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2017 14:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e44413e1-c733-4fd1-8d32-7f9fcaa1a3b3</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;Thanks a lot Jørgen&lt;/p&gt;
&lt;p&gt;Sorry for make it an answer too late&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 NFC record_text example</title><link>https://devzone.nordicsemi.com/thread/76389?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 13:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:238c2511-7df5-49bc-b4ae-871378abf25b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This should be possible. The reason that the member of the record descriptor is declared as const is that it must be consistent for the time the encode function works, to avoid that the data get corrupted.&lt;/p&gt;
&lt;p&gt;As long as you make sure that the variable does not change during the time the encoder function work, you should be able to ignore the warning or typecast your variable to a constant.&lt;/p&gt;
&lt;p&gt;Note that you need to stop and reinitialize the NFC tag emulation when updating the value, by calling &lt;code&gt;nfc_t2t_emulation_stop()&lt;/code&gt; and &lt;code&gt;nfc_t2t_emulation_start()&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I have attached an example that output a count value on the NFC interface once every second: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nfc_5F00_record_5F00_variable.zip"&gt;nfc_record_variable.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>