<?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>Nordic Mesh using USB Dongle and provision via GATT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47952/nordic-mesh-using-usb-dongle-and-provision-via-gatt</link><description>Hello, 
 I have a project that does what the title states, create a Mesh Network using the Nordic USB Dongles then provision a smartphone using GATT to access the Mesh network. 
 So far I&amp;#39;ve combined the two examples from Light Switch Mesh, creating both</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Jun 2019 11:48:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47952/nordic-mesh-using-usb-dongle-and-provision-via-gatt" /><item><title>RE: Nordic Mesh using USB Dongle and provision via GATT</title><link>https://devzone.nordicsemi.com/thread/191080?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 11:48:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d462f54-365e-480d-9377-b0016674e150</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Luis,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The USB dongle is not made for firmware development, but to be used as a tool. It&amp;#39;s better to use a DK to do development then send the image to the dongle when it&amp;#39;s ready. The tool you use to program the dongle is actually not direct programming but doing a firmware update over USB. It&amp;#39;s not possible to debug using that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that provisioning and proxy are 2 different term. Proxy is to allow a phone which already provisioned to join the network. When provisioning is to assign the mesh credential to a node so that it can start to join the network.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently what we have is proxy and GATT provisioning on light switch example. You can use a phone to provision the node and then use the phone to access the network as a proxy node. However, you need to use the phone as the provisioner. And there is only one phone in this setup.&lt;/p&gt;
&lt;p&gt;We currently don&amp;#39;t have an example to allow other phones to join the network (connect to a proxy) or provision a phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you to get familiar with phone provisioning (PB-GATT) first. You can have a look at &lt;a href="https://www.youtube.com/watch?v=XthbU9NP0Yg"&gt;this video&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The coexistence example is something else. The example allow the node works as a normal BLE peripheral, connect to a phone and at the same time, being a normal mesh node. It&amp;#39;s not standard proxy as defined in the spec. The phone wouldn&amp;#39;t be part of the mesh network. But of course you can define your own proxy/bridge protocol to transfer BLE to mesh.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Mesh using USB Dongle and provision via GATT</title><link>https://devzone.nordicsemi.com/thread/190907?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 19:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb3d998b-695e-4a3d-8526-83bae544e67f</guid><dc:creator>lconstjs</dc:creator><description>[quote userid="2121" url="~/f/nordic-q-a/47952/nordic-mesh-using-usb-dongle-and-provision-via-gatt/190772"]Please clarify how you provision the Nordic USB Dongle running light switch example ? Did you use the provisioner firmware or using PyACI ? or using a phone ?&amp;nbsp;[/quote]
&lt;p&gt;- I am provisioning the USB Dongle that is running the light switch with my iPhone using nRF Mesh.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/47952/nordic-mesh-using-usb-dongle-and-provision-via-gatt/190772"]How did you program the USB Dongle ?&amp;nbsp;[/quote]
&lt;p&gt;I programmed the USB Dongle using the nRF Programmer with a hex file built using the lightswitch example.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/47952/nordic-mesh-using-usb-dongle-and-provision-via-gatt/190772"]When you mention &amp;quot;provision the smart phone&amp;quot; what exactly you meant ? You want to provision the smart phone or do you want to use the smart phone to provision the nodes ?&amp;nbsp;[/quote]
&lt;p&gt;By provisioning I meant I want to connect a device like (web bluetooth, smartphone bluetooth) using the Mesh Proxy Service or Mesh Provisioning Service standard from the Bluetooth.com website and I am having problems exposing the GATT server and connecting to it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;See this link:&amp;nbsp;&lt;a href="https://www.bluetooth.com/blog/in-market-bluetooth-low-energy-devices-and-bluetooth-mesh-networking/"&gt;https://www.bluetooth.com/blog/in-market-bluetooth-low-energy-devices-and-bluetooth-mesh-networking/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Topology:&amp;nbsp;&lt;img alt=" " src="https://3pl46c46ctx02p7rzdsvsg21-wpengine.netdna-ssl.com/wp-content/uploads/2017/03/fig2_proxy_node.jpg" /&gt;&amp;nbsp;phone/web-bluetooth &amp;gt; proxy &amp;gt; mesh&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/47952/nordic-mesh-using-usb-dongle-and-provision-via-gatt/190772"]Note that the coexistence example has nothing to do with provisioning. It&amp;#39;s the example so that you can do BLE and having mesh at the same time.&amp;nbsp;[/quote]
&lt;p&gt;Would this help accomplish the above topology?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your response,&lt;/p&gt;
&lt;p&gt;Luis&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Mesh using USB Dongle and provision via GATT</title><link>https://devzone.nordicsemi.com/thread/190772?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 12:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:571347fa-cdef-414b-9c69-bc7d2ba980b5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Iconstjs,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please clarify how you provision the Nordic USB Dongle running light switch example ? Did you use the provisioner firmware or using PyACI ? or using a phone ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How did you program the USB Dongle ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you mention &amp;quot;provision the smart phone&amp;quot; what exactly you meant ? You want to provision the smart phone or do you want to use the smart phone to provision the nodes ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to use the smart phone to provision the node you only need to use the nRF Mesh app on the phone to do so. PB-GATT (provision using GATT) is enabled by default in light switch example (Unless you use very old SDK, which SDK version you are using ? )&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to disable (or enable) the PB-GATT provisioning in the example, please look for&amp;nbsp;MESH_FEATURE_PB_GATT_ENABLED in nrf_mesh_config_app.h file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that the coexistence example has nothing to do with provisioning. It&amp;#39;s the example so that you can do BLE and having mesh at the same time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>