<?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>Input OOB over button BLE Mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55550/input-oob-over-button-ble-mesh</link><description>Hi, 
 
 I have the nRF52833-DK and try to implement the OOB Input method over a simple button press, but at the moment I don&amp;#39;t see how this can be managed. 
 In mesh_provisionee.c I choose the following OOB settings: 
 
 
 
 
 Now I should receive an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Dec 2019 16:55:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55550/input-oob-over-button-ble-mesh" /><item><title>RE: Input OOB over button BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/225228?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 16:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d225446-4f36-48d0-bbbd-2148e4e0c2d3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sebastian,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your understanding is correct. When you receive&amp;nbsp;NRF_MESH_PROV_EVT_INPUT_REQUEST you can call a function inside main.c (in your application) to wait for button press and then count the number of button press. How do you count the press is upto you. You can think of using&amp;nbsp;button_event_handler().&amp;nbsp;There is a simple debouncing mechanism implemented in simple_hal.c.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After you have count the number of press (0-10)&amp;nbsp; and 5 seconds of no press, then you can send the value back using&amp;nbsp;nrf_mesh_prov_auth_data_provide().&lt;/p&gt;
&lt;p&gt;In my demo &lt;a href="https://github.com/NordicPlayground/thingy52-mesh-provisioning-demo"&gt;here&lt;/a&gt;,&amp;nbsp;I&amp;nbsp;added support for OOB Output BLINK to the provisionee. You may use it as a reference.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>