<?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>Negotiating which device will act as provisioner</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26481/negotiating-which-device-will-act-as-provisioner</link><description>Is the BLE mesh light switch example of a server and client model the correct implementation for our product? 
 Our product will include from one to ten devices. For a customer who purchases one, there would be no inter-device communication. In the case</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Nov 2017 14:23:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26481/negotiating-which-device-will-act-as-provisioner" /><item><title>RE: Negotiating which device will act as provisioner</title><link>https://devzone.nordicsemi.com/thread/104216?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2017 14:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3916a5a-82fb-4a52-a1d1-029c3ba306d6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;Bluetooth Mesh doesn&amp;#39;t have a concept of flexible provisioners. There isn&amp;#39;t a defined way on how to promote a device to be provisioner or when to switch role, etc.&lt;/p&gt;
&lt;p&gt;What we would suggest is to have a button on the device that you can switch to ON  to enable provisioner role on the device. If having a physical button could be a problem, you can think of using BLE (a phone) to set the command to the device.&lt;/p&gt;
&lt;p&gt;Ideally it&amp;#39;s the phone who should be the provisioner, however it&amp;#39;s not supported for now. You would need to define proprietary GATT protocol on the phone to do provisioning via a node. I have an example of GATT+Mesh &lt;a href="https://devzone.nordicsemi.com/question/175918/how-to-add-mesh-into-nrf5-sdk-v141-ble-application/?answer=175921#post-id-175921"&gt;here&lt;/a&gt; (no provisioning though).&lt;/p&gt;
&lt;p&gt;Do what you proposed also possible, but it won&amp;#39;t guarantee that a device wouldn&amp;#39;t accidentally enter provisioner mode if there is interference or range that blocks the provisioning beacons and then we end up having 2 or more independent provisioners (meaning 2 or more different networks).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>