<?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>Bugs found in NRF Connect SDK while testing BLE Mesh Provisioning Authentication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73849/bugs-found-in-nrf-connect-sdk-while-testing-ble-mesh-provisioning-authentication</link><description>During testing of various combination of BLE Mesh Provisioning, I found a couple of bugs in dk_prov.c 
 
 If you Disable all OOB options for no OOB, it does not work properly. As well as several other combinations of OOB selections do not work properly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Apr 2021 13:21:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73849/bugs-found-in-nrf-connect-sdk-while-testing-ble-mesh-provisioning-authentication" /><item><title>RE: Bugs found in NRF Connect SDK while testing BLE Mesh Provisioning Authentication</title><link>https://devzone.nordicsemi.com/thread/304844?ContentTypeID=1</link><pubDate>Wed, 14 Apr 2021 13:21:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dd0285b-bdc9-4cee-bd35-69449ff31931</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Thank you for the feedback, I have forwarded this to the team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bugs found in NRF Connect SDK while testing BLE Mesh Provisioning Authentication</title><link>https://devzone.nordicsemi.com/thread/304686?ContentTypeID=1</link><pubDate>Wed, 14 Apr 2021 03:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:544dea62-023d-4552-ae04-e2fc9652a219</guid><dc:creator>dstarling</dc:creator><description>&lt;p&gt;V1.5.0 and nrf52832 currently.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bugs found in NRF Connect SDK while testing BLE Mesh Provisioning Authentication</title><link>https://devzone.nordicsemi.com/thread/304582?ContentTypeID=1</link><pubDate>Tue, 13 Apr 2021 13:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb3a6b9e-d94a-440f-bdf3-d1499d707dff</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Thank you for the patch. Could you also provide which nRF Connect SDK version you are using? and which device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bugs found in NRF Connect SDK while testing BLE Mesh Provisioning Authentication</title><link>https://devzone.nordicsemi.com/thread/304393?ContentTypeID=1</link><pubDate>Tue, 13 Apr 2021 02:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a7a4d34-b5c7-442a-b54c-d4742030b6e0</guid><dc:creator>dstarling</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/subsys/bluetooth/mesh/dk_prov.c b/subsys/bluetooth/mesh/dk_prov.c
index 4a30f183..155964bf 100644
--- a/subsys/bluetooth/mesh/dk_prov.c
+++ b/subsys/bluetooth/mesh/dk_prov.c
@@ -136,7 +136,11 @@ static uint8_t dev_uuid[16];

 static const struct bt_mesh_prov prov = {
        .uuid = dev_uuid,
+#if defined(CONFIG_BT_MESH_DK_PROV_OOB_LOG) || defined(CONFIG_BT_MESH_DK_PROV_OOB_BLINK)
        .output_size = 1,
+#else
+       .output_size = 0,
+#endif
        .output_actions = (0
 #ifdef CONFIG_BT_MESH_DK_PROV_OOB_LOG
                | BT_MESH_DISPLAY_NUMBER
@@ -148,10 +152,13 @@ static const struct bt_mesh_prov prov = {
                ),
        .output_number = output_number,
        .output_string = output_string,
-       .input_size = 1,
        .input = input,
 #ifdef CONFIG_BT_MESH_DK_PROV_OOB_BUTTON
+       .input_size = 1,
        .input_actions = BT_MESH_PUSH,
+#else
+       .input_size = 0,
+    .input_actions = 0,
 #endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Suggested Patch&lt;/p&gt;
&lt;p&gt;I tested:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;No OOB&lt;/li&gt;
&lt;li&gt;Blink Output&lt;/li&gt;
&lt;li&gt;Button Input&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bugs found in NRF Connect SDK while testing BLE Mesh Provisioning Authentication</title><link>https://devzone.nordicsemi.com/thread/304283?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 13:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc1082e9-2333-4031-b174-c1a8092283dc</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Feel free to post your suggested fix :)&lt;/p&gt;
[quote user=""]As well as several other combinations of OOB selections do not work properly or out of specification.[/quote]
&lt;p&gt;Also, can you give more details on what you have tested?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>