<?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>Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57530/disable-notification-permission-to-pair-in-nrf52</link><description>Hi, 
 
 In-app when you scan for device and after it is found you press the connect and then the notification/permission to pair pops out. Our app developers are saying that we must disable this notification in our firmware, but I can&amp;#39;t find any similar</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 15 Feb 2020 06:18:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57530/disable-notification-permission-to-pair-in-nrf52" /><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234512?ContentTypeID=1</link><pubDate>Sat, 15 Feb 2020 06:18:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb18059e-0ac1-4ba9-82b3-219ceb8ae953</guid><dc:creator>Bselekar</dc:creator><description>&lt;p&gt;Hi, actually we have discovered with the sniffer that the nRF connect app on Appel is disconnecting itself without any error or failure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We will start the production with the current version and in march when the product will be launched we will upgrade the firmware through the app. On Monday I will start with the project from scratch wit the template example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Blaz&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234313?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 07:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6b78326-7f6a-4615-bc32-e34a8098c5aa</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you print the disconnect reason by adding the following code?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;case BLE_GAP_EVT_DISCONNECTED:
NRF_LOG_INFO(&amp;quot;Disconnected, reason %d.&amp;quot;,
p_ble_evt-&amp;gt;evt.gap_evt.params.disconnected.reason);
m_conn_handle = BLE_CONN_HANDLE_INVALID;
break;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234282?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 22:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a673378-6c3f-4b9f-bd78-e9e55cf41828</guid><dc:creator>Bselekar</dc:creator><description>&lt;p&gt;Dear Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, we have new problems. We have discovered that on apple we have some problems with connections. For example, if we use nRF connect on the android or desktop version we can connect without any problems. Here is the log of connection:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/log_5F00_NFR_5F00_connect_5F00_OK.txt"&gt;devzone.nordicsemi.com/.../log_5F00_NFR_5F00_connect_5F00_OK.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If we use nRF connect on the apple phone the first time we connect the connection is established then it is disconnecting and after we do reconnect it is connected without any problems.&amp;nbsp; Here is the log.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/log_5F00_NFR_5F00_connect_5F00_apple.txt"&gt;devzone.nordicsemi.com/.../log_5F00_NFR_5F00_connect_5F00_apple.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand why the app disconnects only the first time and only on apple devices?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for help,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Blaz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234141?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 09:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e85721b-c547-4107-b433-2bc016b075f5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Blaz,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We usually suggest starting from the&amp;nbsp;&lt;a title="Template Application" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_template.html?cp=7_1_4_2_2_23"&gt;Template Application&lt;/a&gt;&amp;nbsp;example which doesn&amp;#39;t &lt;span&gt;use encrypted characteristics, so the mobile won&amp;#39;t pop up a window to ask pairing or bonding. Users could use service under bond or no-bond. The blinky example does not use the peer manager library and bond/pair. It might be a good example to fit your requirements.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234130?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 09:26:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2cef788-750c-4fd6-85f8-fe9b22c45509</guid><dc:creator>Bselekar</dc:creator><description>&lt;p&gt;Dear Amanda,&lt;/p&gt;
&lt;p&gt;Thank you for your prompt support. Because of big changes in code, which will be very risky at this moment, the customer has decided that we go back to paring and bonding.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the next version, we will implement no preparation, no bonding. In our custom characteristic, we have the following properties:&lt;/p&gt;
&lt;p&gt;RLX_VIBRATION_LEVEL_CHAR_UUID&amp;nbsp; &amp;nbsp; &amp;nbsp;0x456b&amp;nbsp; &amp;nbsp; notify-read/write&lt;br /&gt;RLX_MOTOR_CURRENT_CHAR_UUID&amp;nbsp; &amp;nbsp; 0x456c&amp;nbsp; &amp;nbsp; notify-read&lt;br /&gt;RLX_CHRG_CURRENT_CHAR_UUID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x456d&amp;nbsp; &amp;nbsp; notify-read &lt;br /&gt;RLX_TEMP_CHAR_UUID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x456e&amp;nbsp; &amp;nbsp; notify-read&lt;br /&gt;RLX_BAT_VOLTAGE_UUID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x456f&amp;nbsp; &amp;nbsp; notify-read&lt;br /&gt;RLX_TEST_CHAR_UUID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x4570&amp;nbsp; &amp;nbsp;notify-read/write&lt;br /&gt;RLX_PRESSURE_LEVEL_CHAR_UUID&amp;nbsp; &amp;nbsp; 0x4571&amp;nbsp; &amp;nbsp;notify-read&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From which example it will be the best to start if we want to build up the app from scratch wit no paring no bonding. Do you think the blinky example is most appropriate?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The current application was not built by us we got it from customer and some other developers were developing it. Now we would like to build it again the right way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Blaz&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234117?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 08:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c76494d-649f-491f-9151-9c50fbbd933e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Blaz,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you provide the error log on both sides?&lt;/p&gt;
&lt;p&gt;In the segger project, you can enable log in the sdk_cofig.h and compile with the debug mode.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0c2c2956997c46a2b4883c1eeecafa92/Segger_5F00_debug-mode.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0c2c2956997c46a2b4883c1eeecafa92/237924.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234033?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 15:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86b15dc7-23ca-4e76-95e2-8a0de1f7b032</guid><dc:creator>Bselekar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have copied the following functions from HRS to our APP:&lt;/p&gt;
&lt;p&gt;- on_adv_evt(ble_adv_evt_t ble_adv_evt)&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;pm_evt_handler(pm_evt_t const * p_evt)&lt;/p&gt;
&lt;p&gt;I delited the our&amp;nbsp;delete_bonds() and&amp;nbsp;whitelist_set() form the code. Now the app is working with no paring and no bondig the&amp;nbsp;&lt;span&gt;peer_manager_init(); is commented.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Now I have a problem that our custom characteristics are not reacting to any commands.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/custom_5F00_characterisitc.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I check in the code and I didn&amp;#39;t find any connection between parring and custom characteristic.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have any advice, where should be the problem :)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Blaz&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234019?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 14:35:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9abd4d9e-9821-4764-aad3-05bc71ca22d5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You don&amp;#39;t need to remove or disable&amp;nbsp;&lt;span&gt;PEER_MANAGER. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried to comment on&amp;nbsp;peer_manager_init(); or&amp;nbsp;&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__peer__manager.html#gac27a2cc39be9fce1bd866ba4c6b18349"&gt;pm_sec_params_set&lt;/a&gt;() for no bonding in the HRS example, and it still can work.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/234004?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 14:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5766c1c7-b8eb-4550-8974-e75bd544474b</guid><dc:creator>Bselekar</dc:creator><description>&lt;p&gt;The problem is that the whole project was build form the beginning for bonding and pairing. Now the customer has changed his requirements to no pairing no bonding. I don&amp;#39;t have time to build the project from scratch this is why I am searching for a solution on how to disable peering and bonding in the existing projects.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you maybe now why this happens if I don&amp;#39;t use&amp;nbsp;&lt;span&gt;peer_manager:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;info&amp;gt; app: Device turned on&lt;br /&gt;&amp;lt;error&amp;gt; app: Fatal error&lt;br /&gt;&amp;lt;warning&amp;gt; app: System reset&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The device is in reset all the time.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I disable the peer manager in sdk_config.h I get a lot of errors because of the functions used in a project were built-in.&lt;/p&gt;
&lt;p&gt;#ifndef PEER_MANAGER_ENABLED&lt;br /&gt;#define PEER_MANAGER_ENABLED 0&lt;/p&gt;
&lt;p&gt;The device is a massage gun with custom characteristics that can be controlled with mobile app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Blaz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/233997?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a39ad5f5-e71d-4cd1-81cd-5728e9abb280</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;If you don&amp;#39;t use bond and pair, you do not need to use&amp;nbsp;&lt;span&gt;peer_manager.&amp;nbsp;Blinky example is a good example without that. If you want to modify a bond example to no-bond, HRS example might help you know that.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;What is your development purpose?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/233986?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b56d5f98-bb90-448b-9f10-72335ab7dc5e</guid><dc:creator>Bselekar</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From log TX report I see that problem is in&amp;nbsp;&lt;span&gt;pm_conn_secure():&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;debug&amp;gt; peer_manager_handler: Connected, securing connection. conn_handle: 0&lt;br /&gt;&amp;lt;info&amp;gt; app: Connected&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_handler: Asserting. pm_conn_secure() returned NRF_ERROR_NOT_FOUND on conn_handle 0.&lt;br /&gt;&amp;lt;error&amp;gt; app: Fatal error&lt;br /&gt;&amp;lt;warning&amp;gt; app: System reset&lt;br /&gt;&amp;lt;info&amp;gt; app: Device turned on&lt;br /&gt;&amp;lt;info&amp;gt; app: m_whitelist_peer_cnt 1, MAX_PEERS_WLIST 8&lt;br /&gt;&amp;lt;debug&amp;gt; app: pm_whitelist_get returns 0 addr in whitelist and 0 irk whitelist&lt;br /&gt;&amp;lt;info&amp;gt; app: Fast advertising.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how to disable&amp;nbsp; &amp;nbsp;Peer Manager event handler. Even if the function is empty the&amp;nbsp;_conn_secure function starts in the background.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But if I don&amp;#39;t initialize the&amp;nbsp;peer_manager_init() then device won&amp;#39;t start:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app: Device turned on&lt;br /&gt;&amp;lt;error&amp;gt; app: Fatal error&lt;br /&gt;&amp;lt;warning&amp;gt; app: System reset&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see in Blinky example that the&amp;nbsp;&amp;nbsp;&lt;span&gt;peer_manager_init()&amp;nbsp; is not used and no paring no bonding is working fine. I don&amp;#39;t understand why the device has:&amp;nbsp;&amp;lt;error&amp;gt; app: Fatal error if the&amp;nbsp;&amp;nbsp;peer_manager_init() is not&amp;nbsp;initialized.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This request to change come from the customer yesterday and we must start the mass production on Monday.&amp;nbsp; We are under enormous time pressure so please help me out.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you for help,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Blaz&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/233890?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 08:27:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fced733-6ab0-4421-b33b-fa99b0531401</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could try &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_hrs.html"&gt;Heart Rate Application&lt;/a&gt;&amp;nbsp;and &lt;span&gt;do not call&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__peer__manager.html#gac27a2cc39be9fce1bd866ba4c6b18349"&gt;pm_sec_params_set&lt;/a&gt;&amp;nbsp;for no pairing/bonding.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/233879?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 07:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86806e88-3eaa-4b1c-9a5d-11f94344dde3</guid><dc:creator>Bselekar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your replay. Which no paring no bonding example is best to check?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Blaz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/233874?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 07:31:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61bd58c6-b539-4a43-a2a3-4923c7acfa2c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Bselekar"]Our application was developed from&amp;nbsp;ble_app_bms example. Our BLE security settings were set to pair/no bonding. From your answers, I assume that we must set up BLE connection no pair no bonding?[/quote]
&lt;p&gt;&lt;span&gt;The Bond Management Application is an example that demonstrates how to use the Bond Management Service. The example shows how to manage the storage of bond information and how to delete bonds after they have been established.&lt;/span&gt;&amp;nbsp;Therefore, it should set to no bonding.&lt;/p&gt;
&lt;p&gt;You should another example and see the&amp;nbsp;&lt;a title="Peer Manager" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_peer_manager.html?cp=7_1_3_2_7"&gt;Peer Manager&lt;/a&gt;/&lt;a title="Usage" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_pm_usage.html?cp=7_1_3_2_7_2"&gt;Usage&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you have a new question, please create a new support case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/233841?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 21:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9d1a12b-cc6a-43e1-a920-3785c7926927</guid><dc:creator>Bselekar</dc:creator><description>&lt;p&gt;Dear Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your support.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our application was developed from&amp;nbsp;ble_app_bms example. Our BLE security settings were set to pair/no bonding. From your answers, I assume that we must set up BLE connection no pair no bonding?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Form the instructions form your site it is written&amp;nbsp;&lt;b&gt;No pairing/bonding:&lt;/b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;span&gt;&amp;nbsp;(or do not call&amp;nbsp;&lt;/span&gt;&lt;a class="el" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__peer__manager.html#gac27a2cc39be9fce1bd866ba4c6b18349"&gt;pm_sec_params_set&lt;/a&gt;&lt;span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have disabled the&amp;nbsp;&lt;a class="el" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__peer__manager.html#gac27a2cc39be9fce1bd866ba4c6b18349"&gt;pm_sec_params_set&lt;/a&gt;&amp;nbsp;function and the app is still working. When I connect to the device after a few seconds I get time out message and disconnection of the BLE connection: BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I find timeouts with disconnection in&amp;nbsp;ble_evt_handler:&lt;/p&gt;
&lt;p&gt;case BLE_GATTC_EVT_TIMEOUT:&lt;br /&gt; // Disconnect on GATT Client timeout event.&lt;br /&gt; NRF_LOG_DEBUG(&amp;quot;GATT Client Timeout.&amp;quot;);&lt;br /&gt; err_code = sd_ble_gap_disconnect(p_ble_evt-&amp;gt;evt.gattc_evt.conn_handle,&lt;br /&gt; BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;case BLE_GATTS_EVT_TIMEOUT:&lt;br /&gt; // Disconnect on GATT Server timeout event.&lt;br /&gt; NRF_LOG_DEBUG(&amp;quot;GATT Server Timeout.&amp;quot;);&lt;br /&gt; err_code = sd_ble_gap_disconnect(p_ble_evt-&amp;gt;evt.gatts_evt.conn_handle,&lt;br /&gt; BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);&lt;br /&gt; APP_ERROR_CHECK(err_code)&lt;/p&gt;
&lt;p&gt;But they are not the reason of diconnect.&lt;/p&gt;
&lt;p&gt;Can you please help me out where I can disable this timeout.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Blaz&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable notification/permission to pair in NRF52</title><link>https://devzone.nordicsemi.com/thread/233306?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2020 13:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d73555e4-da59-4700-9260-d79895d76ecf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Unfortunately, the BLE stack automatically pops up an alert view to prompt the user to confirm or cancel the pairing process. This is something that is happening on the OS BLE stack, so you won´t be able to prevent it from appearing from the application unless you don&amp;#39;t use encrypted characteristics. The bonding process is triggered when you try to read an encrypted characteristic.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>