<?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>peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 132</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53455/peer_manager_handler-connection-security-failed-role-peripheral-conn_handle-0x0-procedure-bonding-error-132</link><description>Hello everyone, 
 I&amp;#39;m trying to communicate ble_app_uart and my customized mobile app(central) with static passkey my code as below 
 
 
 
 i facing problem when i make connection bond with my customized app to peripheral it show error 
 00&amp;gt; &amp;lt;info&amp;gt; peer_manager_handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Oct 2019 08:41:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53455/peer_manager_handler-connection-security-failed-role-peripheral-conn_handle-0x0-procedure-bonding-error-132" /><item><title>RE: peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 132</title><link>https://devzone.nordicsemi.com/thread/216307?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2019 08:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a0df7cb-9df5-4cd4-ba60-8a088d373df6</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Then I am not sure what is going on. Could you upload a sniffer trace? You could use the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer&lt;/a&gt;, along with an nRF52 DK to &amp;quot;sniff&amp;quot; the BLE activity.&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: peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 132</title><link>https://devzone.nordicsemi.com/thread/216227?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 17:05:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b7e95f0-e23f-456d-ad30-1aded935ce1a</guid><dc:creator>Autobot</dc:creator><description>&lt;p&gt;I define both side its giving same error. and also i check nrf connect enter correct passkey in define on my code its show same error in 132&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 132</title><link>https://devzone.nordicsemi.com/thread/216189?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 13:22:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a45856e-a958-470e-898d-5f92651b1fd2</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The error 132 (0x84=BLE_GAP_SEC_STATUS_CONFIRM_VALUE) will happen if you input the wrong passkey (see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/22242/ble_gap_sec_status_confirm_value-how-menage"&gt;this thread&lt;/a&gt;). Are you sure you use the same passkey in your customized app as you have defined in the ble_app_uart_bonding example (The passkey passed into &lt;em&gt;sd_ble_opt_set(..)&lt;/em&gt;)?&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: peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 132</title><link>https://devzone.nordicsemi.com/thread/216040?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 04:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4ea77c9-442b-4760-85c9-aa07229b9541</guid><dc:creator>Autobot</dc:creator><description>&lt;p&gt;Thanks for your replay simon,&lt;/p&gt;
&lt;p&gt;I download and compile your zip file program its show some library are missing as bellow&lt;/p&gt;
&lt;p&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol pm_handler_flash_clean (referred from main.o).&lt;br /&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol pm_handler_on_pm_evt (referred from main.o).&lt;br /&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol pm_init (referred from main.o).&lt;br /&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol pm_peers_delete (referred from main.o).&lt;br /&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol pm_register (referred from main.o).&lt;br /&gt;.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol pm_sec_params_set (referred from main.o).&lt;/p&gt;
&lt;p&gt;I added this library on your code compile the code without any error&lt;/p&gt;
&lt;p&gt;Errase my NRF52832 DK using this cmd : &lt;em&gt;nrfjprog --eraseall&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;upload and run code on my NRF52832 DK &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Its giving same error when i make connection with bonding&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;00&amp;gt; app: Data len&amp;nbsp;is set to 0xF4(244)&lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 132&lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Disconnected&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I added your code as below&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_bonding.rar"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_bonding.rar&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 132</title><link>https://devzone.nordicsemi.com/thread/215986?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 14:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2c2eada-a26b-499d-841f-2502afc110ac</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Should I close&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49768/static-passkey-add-central-ble_app_uart_c"&gt;this ticket&lt;/a&gt;, since it seems like it is related to this one?&lt;/p&gt;
&lt;p&gt;Try to execute the following steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download this zipped file:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f3d2597cecfd40ca9d797e2e08a1874e/ble_5F00_app_5F00_uart_5F00_bonding.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_bonding.zip&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Extract it and put it in &lt;em&gt;&amp;lt;..&amp;gt;\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Erase the content of the nRF52832 DK: &lt;em&gt;nrfjprog --eraseall&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Build and flash the project onto the nRF52832 DK&lt;/li&gt;
&lt;li&gt;Open nRF Connect app for mobile, and if present, delete the bond information&amp;nbsp;as shown in the image below&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f3d2597cecfd40ca9d797e2e08a1874e/pastedimage1571669385426v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Connect to the advertising device and bond to it, as shown in image below:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/500x400/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f3d2597cecfd40ca9d797e2e08a1874e/pastedimage1571669505257v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>