<?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>BLE Mesh Proxy fine questions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58255/ble-mesh-proxy-fine-questions</link><description>I have an existing phone app (using the traditional GATT system), and I would like mesh-enable my products so that if the products can see each other, then the phone can connect to and control any node (so, not so much an automation system but a relay</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Mar 2020 11:15:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58255/ble-mesh-proxy-fine-questions" /><item><title>RE: BLE Mesh Proxy fine questions</title><link>https://devzone.nordicsemi.com/thread/239075?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 11:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d64ad8a8-618b-40df-b52b-110a52f95e1f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Thor,&amp;nbsp;&lt;br /&gt;1. You are right about the how the GATT proxy protocol works. You need to stuff the Mesh-ADV packet into the GATT packet and send it over. So on the phone there must be a minimal mesh stack implemented in the app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To make things simple, you can implement what you plan, a gateway node that deal with mesh and provide the phone a customized (and simpler) interface. In your case, you want to have a list of active light bulb nodes. The disadvantage of this method is that it&amp;#39;s proprietary and it requires special gateway nodes to be implemented.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To get the list of active light-bulb node, there are several options. You can either have them broadcast a message to a group address, periodically. The gateway node then can subscribe to that address and get the list. Or you can do the opposite, the light bulb subscribe to a group address and wait for the polling message from the gateaway they then send a status message back after the query.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. I&amp;#39;m not sure I understand your question regarding &amp;quot;network manager&amp;quot;. You can pre-provision the nodes in production. They can work right out of the box. This is not recommended by the spec, but it doesn&amp;#39;t violate it AFAIK.&lt;/p&gt;
&lt;p&gt;If there is different network key for different networks, then they don&amp;#39;t talk to each other.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh Proxy fine questions</title><link>https://devzone.nordicsemi.com/thread/238612?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 18:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8dea246-aae6-46b0-9df0-f353d794fe70</guid><dc:creator>thormj</dc:creator><description>&lt;p&gt;1. After playing around with the mesh proxy from a different vendor, I think I understand what it does/how it works -- it creates&amp;nbsp; &amp;quot;mesh config in/out&amp;quot; and &amp;quot;mesh data in/out&amp;quot; services in the GATT system; if a phone app wants to talk to the devices in the mesh, the app needs to be mesh-enabled (no simple &amp;quot;Turn EB0FACE off please,&amp;quot; via GATT but the app has to make the Mesh-ADV packet, and then stuff it into the &amp;quot;Mesh-In&amp;quot; GATT attribute)...&lt;/p&gt;
&lt;p&gt;So, I&amp;#39;m thinking of making my own BLE &amp;quot;Operator&amp;quot; service so that &amp;quot;a list of mesh nodes&amp;quot; is exposed via GATT, and the phone can send messages &amp;quot;to a node&amp;quot; without having to be mesh-enabled (Write the Node address to an attribute, then write the commands into a different attribute; my proxy would talk that and use the BLE-Mesh services to make and send the correct &amp;quot;mesh&amp;quot; commands)&lt;/p&gt;
&lt;p&gt;To do that, I&amp;#39;d like to have a way to query the mesh (from a node in the mesh) to get &amp;quot;a list of all nodes that have the &amp;quot;light bulb&amp;quot; profile exposed... is there an approved BLE-Mesh method of doing this (a &amp;quot;who&amp;#39;s there&amp;quot; message)?&lt;/p&gt;
&lt;p&gt;2. I was thinking of the NetKey, but the python scripts should show me what they&amp;#39;re doing under the hood...&lt;/p&gt;
&lt;p&gt;Does the &amp;quot;network manager&amp;quot; need to be &amp;quot;refereshed&amp;quot; or even &amp;quot;present&amp;quot; with the new nodes, or can&amp;nbsp;&lt;span&gt;Light bulb_0013 automatically relay messages to/from&amp;nbsp;Light bulb_0011 out-of-the-box if they can see each other?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If they can, and I can &amp;quot;get a list of &amp;#39;Light Bulbs&amp;#39;,&amp;quot; I think that would solve 99% of my desire to &amp;quot;mesh out of the box&amp;quot; (and if 2 networks touch, we can blacklist that node and force a key update with &amp;quot;any mesh-management application&amp;quot; instead of coding it into our UI application)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Mesh Proxy fine questions</title><link>https://devzone.nordicsemi.com/thread/236271?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 13:44:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e2b28c3-8437-45a5-a992-9bae0cdf82b4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Thor,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. We currently don&amp;#39;t have a tutorial for the mesh proxy protocol. The best source for this is at chapter 6 in the Bluetooth Mesh spec v1.0.1&amp;nbsp;&lt;/p&gt;
&lt;p&gt;At section 6.3 you can find the Proxy PDU description. The phone send the normal Mesh packet inside a GATT packet. The proxy node receive the packet and transparently relays the mesh packet into the mesh network.&amp;nbsp;&lt;br /&gt;You can also have a look at our nRF Mesh app source code as the reference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. What is the NSK ? You can pre-provision a node to put it to an mesh network in production. It&amp;#39;s not defined in the Bluetooth Mesh spec, but there shouldn&amp;#39;t be a problem to do so. Have a look here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/mass-provisioning-of-nordic-ble-mesh-nodes"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/mass-provisioning-of-nordic-ble-mesh-nodes&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>