<?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>Data transfer between Bluetooth SIGmesh and Cloud Server</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58509/data-transfer-between-bluetooth-sigmesh-and-cloud-server</link><description>Hi, 
 Greetings! 
 I am trying to develop a device called as &amp;quot; Gateway &amp;quot;, which can receive SIGmesh messages and update/send those messages to cloud server and vice-versa. 
 Gateway: Please note that this device will have nRF52832 module and Wi-Fi module</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Mar 2020 09:40:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58509/data-transfer-between-bluetooth-sigmesh-and-cloud-server" /><item><title>RE: Data transfer between Bluetooth SIGmesh and Cloud Server</title><link>https://devzone.nordicsemi.com/thread/237658?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 09:40:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a043d65a-5779-4321-ac61-6920b3e1b755</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Dinesh,&lt;/p&gt;
&lt;p&gt;1. No, the address 0xFFFF is the address that all nodes subscribed to. This means if a node send a message to 0xFFFF all nodes in the network will receive it. Not the other way around.&lt;/p&gt;
&lt;p&gt;2. It&amp;#39;s handled on network and transport layer. There are 2 levels of encryption, first is with the network key (handled in&amp;nbsp;network&amp;nbsp;layer) and second is with the application key on upper transport layer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. If you want to send encrypted packet to the cloud, please use other common encryption on top of your data and don&amp;#39;t use the Mesh encryption, for example use AES.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. I don&amp;#39;t know what you are planing to do and what your application is about so I can&amp;#39;t give you more detailed advice.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data transfer between Bluetooth SIGmesh and Cloud Server</title><link>https://devzone.nordicsemi.com/thread/237595?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 04:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38df3f36-1d0c-4f27-b91e-b1d0289115a3</guid><dc:creator>Dinesh</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Greetings!&lt;/p&gt;
&lt;p&gt;Pleased to have your reply once again.&lt;/p&gt;
&lt;p&gt;Your and your team guidance is helping us so much.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So moving ahead further in accordance with your above reply, can you please help me bit further on below points?&lt;/p&gt;
&lt;p&gt;Considering all keys (network, subnet, application etc) are present&lt;/p&gt;
&lt;p&gt;1. If Gateway device subscribes to all address (0xFFFF), then will I able to receive all packets within that network?&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Which functions does handle encryption and decryption of mesh message?&lt;/p&gt;
&lt;p&gt;3. I am thinking of sending encrypted message to cloud server so that based decryption it can be handled further for which network the message is desired.&lt;/p&gt;
&lt;p&gt;4. Or I have to add some labels and forward message to cloud.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please guide.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dinesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data transfer between Bluetooth SIGmesh and Cloud Server</title><link>https://devzone.nordicsemi.com/thread/237489?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 14:35:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12d03d17-3e6a-44bb-b226-ce56d75cf3a6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Dinesh,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bluetooth Mesh is designed as a local network, at least on current version 1.0.1. There is no definition on how it should be transferred to the cloud. So it&amp;#39;s up to you to decide how you want to send the data to cloud.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;mesh_msg_handle() is the place that the node handle all the packets that:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Have the destination address inside the subscription address list, including the unicast address of the node&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Have the network key/subnet key that in the subnet/network keys list.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Have the application key in the application key list.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This meant, only those packet that supposed to be&amp;nbsp;processed by the Gateway node will be processed here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can forward all the data inside that function to the cloud. But you can also have some logic for example only forward the message to a certain model to the cloud and you will only forward the content of the payload, not the full mesh packet for example.&amp;nbsp;&lt;br /&gt;It&amp;#39;s all up to you to customize it to fit to your application.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>