<?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>NCS BLE Mesh Static OOB provision example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113368/ncs-ble-mesh-static-oob-provision-example</link><description>Hello DevZone, 
 In NCS, we have many BLE Mesh examples that is initialed by: 
 
 The first argument is a structure that contains some input and output OOB callback functions. 
 But I can&amp;#39;t find an example shows that how to provision with static OOB.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Sep 2024 13:03:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113368/ncs-ble-mesh-static-oob-provision-example" /><item><title>RE: NCS BLE Mesh Static OOB provision example?</title><link>https://devzone.nordicsemi.com/thread/500784?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2024 13:03:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ede8bc8-582d-41c8-bf79-154b652f39f9</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;&lt;span&gt;No, Certificate-based Provisioning is not a subset of static OOB provisioning. See this document:&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.bluetooth.com/bluetooth-certificate-based-provisioning-a-technical-overview/"&gt;https://www.bluetooth.com/bluetooth-certificate-based-provisioning-a-technical-overview/&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please keep further questions on this topic on &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/114278/enabling-ble-mesh-certificate-based-provisioning-in-nrf5340"&gt;your case&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS BLE Mesh Static OOB provision example?</title><link>https://devzone.nordicsemi.com/thread/500664?ContentTypeID=1</link><pubDate>Sun, 01 Sep 2024 06:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d769261-db0c-4300-b1e3-c978fa0a66e3</guid><dc:creator>Utkarsh</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;&amp;nbsp;Is certificate-based provisioning a subset of static OOB provisioning? How to enable it? There are two variables&amp;nbsp;*public_key_be; *private_key_be; that need to be passed but as I have generated a private key using PSA crypto I am not able to pass the actual private key to this variable as I only have the key handler of private key&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS BLE Mesh Static OOB provision example?</title><link>https://devzone.nordicsemi.com/thread/495817?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 12:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d021a261-9e2c-4e8b-a409-0961cf0f938b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, so to do static OOB procisoing, you have to initialize these two members of structure:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/bluetooth/mesh/main.h#L146-L149"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/bluetooth/mesh/main.h#L146-L149&lt;/a&gt;&amp;nbsp;with your desired values.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;There are also examples of usage &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/bluetooth/tester/src/btp_mesh.c#L1328-L1329"&gt;here &lt;/a&gt;and &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/bsim/bluetooth/mesh/src/test_provision.c#L430-L431"&gt;here&lt;/a&gt;&amp;nbsp;where the last one is a good place to start to figure out how any OOB works, since test checks all of them.&lt;/p&gt;
&lt;p&gt;For the AppKey binding. We&amp;#39;re assuming you&amp;#39;re asking about the provisioner here, right?&lt;/p&gt;
&lt;p&gt;See the following for reference:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&amp;nbsp;First add appkey to remote node. Like &lt;a title="https://github.com/nrfconnect/sdk-zephyr/blob/38452400d3bed75faf30b5a0e4a5a34d9a44128b/samples/bluetooth/mesh_provisioner/src/main.c#l156-l173" href="https://github.com/nrfconnect/sdk-zephyr/blob/38452400d3bed75faf30b5a0e4a5a34d9a44128b/samples/bluetooth/mesh_provisioner/src/main.c#L156-L173" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Then find out models that you want to bind this app key to and then bind it like &lt;a title="https://github.com/nrfconnect/sdk-zephyr/blob/38452400d3bed75faf30b5a0e4a5a34d9a44128b/samples/bluetooth/mesh_provisioner/src/main.c#l200-l208" href="https://github.com/nrfconnect/sdk-zephyr/blob/38452400d3bed75faf30b5a0e4a5a34d9a44128b/samples/bluetooth/mesh_provisioner/src/main.c#L200-L208" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt; (for SIG models). For vendor models it is very similar and shown few lines below in that code.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS BLE Mesh Static OOB provision example?</title><link>https://devzone.nordicsemi.com/thread/495808?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 12:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04f69f85-9443-4c29-b1cc-d1cd35f695d2</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jayant&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve forwarded this internally, but the samples probably won&amp;#39;t be made over night. It&amp;#39;s also worth to note that the only true secure provisioning method is OOB with a public key, just as a side note.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS BLE Mesh Static OOB provision example?</title><link>https://devzone.nordicsemi.com/thread/495571?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 08:32:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b54cf202-18e6-4203-84d8-7f8c3285e8fd</guid><dc:creator>Jayant Tang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The default `bt_mesh_dk_prov_init()` function returns a structure, which does not contain the `static_val`&amp;nbsp;member variables in `&lt;span&gt;struct&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bt_mesh_prov&lt;/span&gt;`.&lt;/p&gt;
&lt;p&gt;When provision the device to AliGenie Platform. It requires&amp;nbsp;us&amp;nbsp;to use the static OOB.&amp;nbsp;The static OOB value is calculated by SHA256.&lt;/p&gt;
&lt;p&gt;The value itself is not important. The problem is that we don&amp;#39;t have an example shows how to initial the Mesh stack with static OOB.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By the way. I also need an example shows how to&amp;nbsp;bind AppKey. The MESH examples in NCS are too simple.&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jayant&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS BLE Mesh Static OOB provision example?</title><link>https://devzone.nordicsemi.com/thread/495565?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 08:15:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9051a94b-dfbe-42f1-96e4-d2523e3a3ff2</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/mesh/light_dimmer/README.html"&gt;Bluetooth Mesh: Light dimmer and scene selector sample&lt;/a&gt; for example is handled by the DK provisioning handler for DKs and supports OOB authentications from what I can tell. Let me know if this isn&amp;#39;t what you&amp;#39;re looking for. Most samples in the NCS depends on the nRF Mesh app to do provisioning.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>