<?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>Mesh Proxy Data In</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44211/mesh-proxy-data-in</link><description>nRF5 SDK for Mesh v3.1.0 
 SEGGER Embedded Studio 
 Softdevice S140 v6.1.0, Softdevice S132 v6.1.0 
 Two nRF52832 DK, One nRF52840 DK 
 Windows 10 Pro 
 
 Hi, is it possible to write to Mesh Data Proxy In (Characteristic 0x2ADD) and have that data sent</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Mar 2019 11:08:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44211/mesh-proxy-data-in" /><item><title>RE: Mesh Proxy Data In</title><link>https://devzone.nordicsemi.com/thread/173937?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2019 11:08:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d560ede-0c73-4235-b532-1c51a47a02ea</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Glad that it worked for you now. Thanks for sharing the information Darien.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Proxy Data In</title><link>https://devzone.nordicsemi.com/thread/173782?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 20:34:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeb6871f-416f-4539-b3b2-b4cd0ef5a531</guid><dc:creator>qmorrison</dc:creator><description>&lt;p&gt;Yes I&amp;#39;ve added the same keys that were assigned during provisioning.&amp;nbsp;And yes, that&amp;#39;s the understanding I&amp;#39;ve arrived at.&lt;/p&gt;
&lt;p&gt;In my case:&lt;/p&gt;
&lt;p&gt;BLE Device without native mesh = Node.js Proxy Client sending network PDUs via BLE&lt;/p&gt;
&lt;p&gt;&amp;#39;other nodes&amp;#39; = Nordic&amp;#39;s Proxy Server, the light switch example&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got the Node.js proxy client working thanks to one of our engineers, he found a bug in the Mesh Kit provided by Bluetooth, the SEQ was not being incremented. It is working now - I am able to send a Generic OnOff Set Unacknowledged to the light switch server via BLE, and the LED changes accordingly, and I did not have to provision or configure the Node.js Proxy Client.&lt;/p&gt;
&lt;p&gt;Thank you for your time!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Proxy Data In</title><link>https://devzone.nordicsemi.com/thread/173652?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 09:59:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0398bd09-ccd0-448c-a4ad-a048f047796a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Darien,&lt;/p&gt;
&lt;p&gt;The purpose of a Proxy Node is defined as follow in the spec:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The proxy protocol enables nodes to send and receive Network PDUs, mesh beacons, proxy configuration messages and Provisioning PDUs over a connection-oriented bearer.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not about how to let a node which is not part of Mesh network to interact with the mesh network. No, it&amp;#39;s about allowing a node that doesn&amp;#39;t support native mesh (ADV bearer) to interact with other nodes via BLE.&lt;/p&gt;
&lt;p&gt;So, on the proxy client you would need all the encryption keys as a normal node has. I think this is mentioned in the Proxy Kit documentation. There is a screen where you need to enter all the keys needed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you to try our nRF Mesh app. This is an example showing how you can send mesh packet from a BLE device. nRFConnect won&amp;#39;t be able to do mesh, a mesh stack still needed on the proxy client (BLE device)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Proxy Data In</title><link>https://devzone.nordicsemi.com/thread/173578?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 01:12:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b944d79-077a-4ec9-9382-7c726aa72ba6</guid><dc:creator>qmorrison</dc:creator><description>&lt;p&gt;One other thing: I understand that Nordic has AES-CCM and AES_CMAC encryption functions in the core stack... I assume the encryption algorithms I&amp;#39;m using on the Node.js side need to use the same salts correct? Could that be another reason the messages are Received (i get an RX log statement from proxy.c) but don&amp;#39;t actually turn the LED on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Proxy Data In</title><link>https://devzone.nordicsemi.com/thread/173570?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 20:30:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfc7eb52-4697-42a3-808f-759ae5edc3c7</guid><dc:creator>qmorrison</dc:creator><description>&lt;p&gt;Hi Hung, sure, gladly:&lt;/p&gt;
&lt;p&gt;1. I haven&amp;#39;t provisioned or configured the Node.js Proxy client. It&amp;#39;s a little unclear to me whether this needs to be done or not... According to the Bluetooth Mesh Profile Specification, a device must be provisioned to communicate with the mesh via a proxy node, but if that&amp;#39;s the case, that defeats the purpose of the proxy node. The purpose of the proxy node is to allow BLE Devices&amp;nbsp;&lt;em&gt;&lt;strong&gt;without a mesh stack&lt;/strong&gt;&lt;/em&gt; to be able to communicate with the mesh. If so, why do we need to make the proxy client part of the mesh? I mean assuming we did, we could just then communicate with the mesh via mesh.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And yes, it uses the same network key and app key.&lt;/p&gt;
&lt;p&gt;2. It&amp;#39;s a GenericOnOff Set Message with the value of ON. I modified the DST portion of the proxy PDU to send to 2ADD, the Mesh Proxy Data In characteristic. The PDU can be seen above, both encrypted and unencrypted. I&amp;#39;ve sent a Set Acknowledged and Set Unacknowledged.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you say &amp;quot;Actually you can test this by using our app&amp;quot; are you referring to the nRF Connect app? I&amp;#39;m interested only in sending data to a GATT characteristic and seeing results in the mesh. Furthermore, I have tried this from the nRF Connect app. I have provisioned the nodes via the interactive pyaci script, then scanned for them via nRF Connect, observed that once connected to the node it has the Mesh Proxy Data In characteristic, and then tried to write to that characteristic via nRF Connect. Upon writing to Mesh Proxy Data In from nRF Connect, the device disconnects. This seems to be a known problem... I&amp;#39;m having issues finding the exact ticket on the DevZone but I&amp;#39;ve seen multiple others struggle with this. If you&amp;#39;re suggesting testing this via the nRF Mesh App and not the nRF Connect app, that is not what I&amp;#39;m aiming to do. I&amp;#39;m aiming to write to Mesh Data Proxy In from a BLE only device that is not part of the mesh.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you so much for your time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Proxy Data In</title><link>https://devzone.nordicsemi.com/thread/173475?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 12:43:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:916598b2-febe-4fff-98ce-da26af1392bd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Darien,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you give me some more information on:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. How do you configure/provision the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;Node.js Proxy Client&amp;nbsp; ?&amp;nbsp;Have you made sure you have the same network key and appkey as on the mesh network you created ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Which message did you sent&amp;nbsp; ? I know it&amp;#39;s a&amp;nbsp;GenericOnOff Proxy PDU but which exact message did you send ? To which address ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regarding your question, the answer is yes. Isn&amp;#39;t it the main purpose of a proxy node ? To be able to forward message from the&amp;nbsp;&amp;nbsp;Mesh Data Proxy In characteristic to the mesh network. Actually you can test this by using our app, you can connect to one single proxy node and then can do configuration on other nodes&amp;nbsp;and&amp;nbsp;you can turn off and on the light of that node. All of those tasks use the Proxy feature on the proxy node.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>