<?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>Send a 32 bitsword to the LedButtonDemo</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10762/send-a-32-bitsword-to-the-ledbuttondemo</link><description>Hello, 
 I&amp;#39;m looking to send a 32 bits word to the example &amp;quot;LebButtonDemo&amp;quot;, using an iPhone application created with Evothingd Studio (it uses Javascript). 
 I&amp;#39;m able to send a 32 bits to my example with the Master Control Panel (and with the nRF51</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Dec 2015 09:52:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10762/send-a-32-bitsword-to-the-ledbuttondemo" /><item><title>RE: Send a 32 bitsword to the LedButtonDemo</title><link>https://devzone.nordicsemi.com/thread/40211?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 09:52:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ab654ee-a1d5-4ddf-902a-781931f66b95</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;I am not sure. My knowledge is mostly about the hardware and software provided by Nordic Semiconductor. As this framework is developed by Evothings, i think you will find better answers by contacting them or posting on their &lt;a href="https://evothings.com/forum/"&gt;forum&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send a 32 bitsword to the LedButtonDemo</title><link>https://devzone.nordicsemi.com/thread/40214?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 08:59:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f8c790-f2d3-49f2-addc-24b5bb814e89</guid><dc:creator>TheRaven</dc:creator><description>&lt;p&gt;I did it yesterday, but it doesn&amp;#39;t work too.
So is it a question of buffer ? ( new Uint8Array(buffer [, byteOffset [, length]]); on your website)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send a 32 bitsword to the LedButtonDemo</title><link>https://devzone.nordicsemi.com/thread/40213?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 08:51:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef6ce93b-fdf6-4a33-af7a-3b4a2d73f1e4</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;I am no expert with javaScript, but i think &lt;code&gt;new Uint8Array([13, 14,15]);&lt;/code&gt; will create an array of three bytes with the values 13, 14 and 15. (&lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"&gt;source&lt;/a&gt;) I could not find documentation for the function &lt;code&gt;app.device.writeDataArray&lt;/code&gt;, but i guess it sends all the bytes in the array.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send a 32 bitsword to the LedButtonDemo</title><link>https://devzone.nordicsemi.com/thread/40212?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 07:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba62cc40-c79f-4c59-9e74-71173cb9e9c2</guid><dc:creator>TheRaven</dc:creator><description>&lt;p&gt;Hello,
Here is a tuto that i used to custom my application : &lt;a href="https://evothings.com/making-a-mobile-app-in-javascript-for-the-nordic-semiconductor-nrf51822-evaluation-kit/"&gt;evothings.com/.../&lt;/a&gt;
For example, if I want to send &amp;quot;13&amp;quot; on my characteristic, I use the line : app.device &amp;amp;&amp;amp; app.device.writeDataArray(new Uint8Array([13]));
But it doesn&amp;#39;t work with a value more than 255.
Unfortunately, Evothings generate automatically the app, it can&amp;#39;t give the app source code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send a 32 bitsword to the LedButtonDemo</title><link>https://devzone.nordicsemi.com/thread/40210?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2015 15:03:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07f26bcc-2622-4237-8178-e330a1a2d8b3</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi. Can you point me to any resources regarding how you made your application? Evothings it not something i have used before. It is usually a trivial task to send how many bytes you want in a packet (up to 20), but it really depends on the framework you are using. Does Evothings generate the app directly, or give you source code which you then compile into an app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>