<?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>Payload data from Thingy 52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39129/payload-data-from-thingy-52</link><description>Hi, 
 I&amp;#39;ve a Raspberry Pi, Node-RED, with a Thingy connected. I get a message payload, looking like this: 
 
 {&amp;quot;uuid&amp;quot;:&amp;quot;dfb561bb7d69&amp;quot;,&amp;quot;characteristics&amp;quot;:{&amp;quot;2a00&amp;quot;:[84,104,105,110,103,121],&amp;quot;2a01&amp;quot;:[0,0],&amp;quot;2a04&amp;quot;:[6,0,24,0,0,0,64,1],&amp;quot;2aa6&amp;quot;:[1],&amp;quot;ef6801019b3549339b1052ffa9740042</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Oct 2018 13:20:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39129/payload-data-from-thingy-52" /><item><title>RE: Payload data from Thingy 52</title><link>https://devzone.nordicsemi.com/thread/151460?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 13:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fe34f43-f7bc-4690-96f0-122c703cf126</guid><dc:creator>b3Tomas</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thanks.Now I see the text :&lt;span&gt;To turn on sensor reading, enable notifications from the desired characteristic by writing 0x0001 to the Client Characteristic Configuration Descriptor (CCCD) for that characteristic.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Node-Red listen to events, I will figure out how to turn on sensor notifications.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tomas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Payload data from Thingy 52</title><link>https://devzone.nordicsemi.com/thread/151438?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 12:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82c3daec-953b-43e3-8101-723f54b17287</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;How much do you know about BLE? A characteristic may or may not be readable. If you look in the &amp;quot;Type&amp;quot; fields in the tables in my link you will see that&amp;nbsp;all the characteristics included in your message are of a Readable type.&amp;nbsp;Other characteristics, like the Temperature characteristic, are not readable, but support Notification instead. This means that the server will send you a &amp;quot;notification&amp;quot; whenever new data is available (assuming notification is turned on).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I know nothing about Node-RED, but you probably have to figure out how to turn on notification on the relevant characteristics and then how to listen for such notifications.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Payload data from Thingy 52</title><link>https://devzone.nordicsemi.com/thread/151426?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 12:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e025b5d1-7b2f-40a8-a056-81898e07949f</guid><dc:creator>b3Tomas</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thanks for you reply. I know the json part, and with the list of characteristics I can go on.&lt;br /&gt;From what I can see, I only get the &amp;quot;config data&amp;quot; and not any sensor data.&lt;/p&gt;
&lt;p&gt;If i wanted for example the temprature value, I would find under&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ef68&lt;strong&gt;0201&lt;/strong&gt;9b3549339b1052ffa9740042, but that element is not there.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;How do I&amp;nbsp;get this element in my message payload?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Payload data from Thingy 52</title><link>https://devzone.nordicsemi.com/thread/151386?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 11:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91ab6b92-027f-4d0f-8f7a-0b8f971ee906</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;That message is in JSON format. If you copy-paste it into this &lt;a href="https://jsonformatter.curiousconcept.com/"&gt;JSON formatter tool&lt;/a&gt; you can see it a little more clearly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-38d5e80f380547d184e33bf565cf4f92/pastedimage1538564142925v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The values in &lt;strong&gt;bold&lt;/strong&gt; are UUIDs and you can compare them with the list of characteristics&amp;nbsp;&lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/firmware_architecture.html"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>