<?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>Does a nus service data packet have to end with a NULL character</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9863/does-a-nus-service-data-packet-have-to-end-with-a-null-character</link><description>Hi, 
 Im trying to send data via the NUS service which is larger than 20 bytes. I understand that I have to break down the data into chunks in this case, which is what I&amp;#39;m trying to do. However, I see that if I send exactly 20bytes from the nRF UART</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 24 Oct 2015 23:30:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9863/does-a-nus-service-data-packet-have-to-end-with-a-null-character" /><item><title>RE: Does a nus service data packet have to end with a NULL character</title><link>https://devzone.nordicsemi.com/thread/36598?ContentTypeID=1</link><pubDate>Sat, 24 Oct 2015 23:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9c64ade-f139-4677-a96c-024bba812dcd</guid><dc:creator>Bernd (nvisionary)</dc:creator><description>&lt;p&gt;Ugh. No coding late at night... I made a stupid mistake on the packetizer code on the Android app side. I forgot the 20byte corner case for modulo operation ... Now that I fixed that I can see all bytes reach the other side. Printing the data as numbers helped a lot as I could see the header information on the Nordic side but not the payload data. All good, no bugs in the softdevice code. Will close.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does a nus service data packet have to end with a NULL character</title><link>https://devzone.nordicsemi.com/thread/36597?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2015 09:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd8b2939-6f2a-4e50-8182-37af9edd8c55</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Can you try to print the data received as decimal number or hex values? (Use %d or %x in printf).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>