<?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 provision local device over serial?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82837/mesh-provision-local-device-over-serial</link><description>Hi Nordic, 
 I&amp;#39;ve reviewed the Mesh PyACI which uses a serial connection with a DK to provision a separate Mesh device over-the-air, if I understand correctly. But is there a way to provision a device over serial directly, without going through the provisioner</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jan 2022 14:20:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82837/mesh-provision-local-device-over-serial" /><item><title>RE: Mesh provision local device over serial?</title><link>https://devzone.nordicsemi.com/thread/345699?ContentTypeID=1</link><pubDate>Mon, 03 Jan 2022 14:20:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f567d3ae-7844-4fd2-a1ea-cd5faaf04a8f</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Through the serial interface, you control the node from a PyACI session on the PC. Theoretically I think it should be possible to provision the device that way, yes. Either through use of the serial API directly, and/or through equipping the device itself with provisioner capabilities and/or a configuration server (which can then be controlled over serial) for the self configuration. Note that you would need PyACI (or similar software) on a PC (or other connected device) in order to do that provisioning, and then the network configuration database would be on that PC. In practice, you would like the database to reside on a provisioner that can be used to manage the network, provision additional nodes, configure nodes, perform network updates, etc.&lt;/p&gt;
&lt;p&gt;Note also that from the perspective of the Bluetooth mesh specification, provisioning is not supposed to be done in factory. Rather, it is the process of adding a new device to an existing network, at the location of that existing network. Or, if no such network is set up already, start setting up such a network with the new devices together with a provisioner.&lt;/p&gt;
&lt;p&gt;Normally, you would not need to add a custom/proprietary serial provisioning to the device. There are two transports (bearers) for provisioning a device, specified by the Bluetooth mesh specifications: The ADV bearer and the GATT bearer. Both build on Bluetooth Low Energy, both are supported by nRF5 SDK for Mesh, and for the GATT bearer you can use a smart phone app as provisioner. Ideally you should use those (existing, specified) methods. In addition, in the nRF5 SDK for Mesh, we have remote provisioning, which uses the existing mesh network for relaying provisioning between a provisioner and a provisionee that is not within radio range of each other.&lt;/p&gt;
&lt;p&gt;I guess other options could be to build something based off of a subset of the Serial Interface, or make a light-weight protocol using UART directly, interfacing with lower levels of the Bluetooth mesh stack. However please note that doing changes to the stack itself most likely will void the qualification.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>