<?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>Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30722/bonding-information-not-stored-in-flash-memory</link><description>I am using nrf52 with SDK 14.2.0 and SD is S132. 
 
 The issue I am facing is that after Central is paired with one peripheral and bonding is done, the bonding information is not stored by central and so the next time when the already bonded peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Mar 2018 11:28:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30722/bonding-information-not-stored-in-flash-memory" /><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/124960?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 11:28:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae41b4b-721a-4db2-9772-ea75794d18f0</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;I had the same problem.&lt;/p&gt;
&lt;p&gt;Did you include /components/softdevice/common/nrf_sdh_soc.c?&lt;/p&gt;
&lt;p&gt;This solved the issue for me.&lt;/p&gt;
&lt;p&gt;For some reason neither the compiler nor the linker are complaining if it is missing.&lt;/p&gt;
&lt;p&gt;Also it can happen, that the optimizer can remove it, as mentioned here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29137/fds-not-able-to-write-in-sdk-14"&gt;devzone.nordicsemi.com/.../fds-not-able-to-write-in-sdk-14&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/122380?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 05:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea40f28f-7f03-4166-aef8-2730625424c6</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;I did the same. There were two differences:&lt;/p&gt;
&lt;p&gt;1. I used static library (.a) for SDK files. The sample application compiles the files and links objects directly. I had compiled every files necessary for my application. ( SDK file list is same for my application and Sample App.)&lt;/p&gt;
&lt;p&gt;2. I did not include Makefile.common in my application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/122340?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 16:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e74f922-a745-4a11-9087-8b6d57036593</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Would a simple diff do if we are just talking about Makefiles?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/122319?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 14:22:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2664bdca-b526-4023-867f-8cc254b993ee</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;Yes I was doing same. I had my own make system which didn&amp;#39;t work. We need to use SDK&amp;#39;s make system. Still knowing the exact root cause is to be done. I will debug it further to know the exact root cause and post here for others knowledge!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/122256?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 10:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52c6174d-e8a4-4b97-ac29-33fc6c5720f9</guid><dc:creator>Austin</dc:creator><description>&lt;p&gt;FDS depends on being able to observe events and registers an event handler using&amp;nbsp;&lt;span&gt;NRF_SDH_SOC_OBSERVER.&amp;nbsp; If the observers aren&amp;#39;t working correctly as you&amp;#39;ve eluded to in your question, then pairing data will not be stored correctly as FDS will not be receiving all expected events.&amp;nbsp; If you&amp;#39;re using the nRF5 SDK make system and linker scripts, use of NRF_SDH_SOC_OBSERVER and friends should just work.&amp;nbsp; The linker scripts did change between SDK versions so check that all the appropriate sections are present in the linker scripts.&amp;nbsp; I had a similar issue to this with a custom make system where I compiled the SDK to a library (.a) and then attempted to link this library to a final executable with a main.c.&amp;nbsp; Linking .a files containing the SDK does not work correctly in the presence of NRF_SDH_SOC_OBSERVER usage in all cases, because when linking, only object files that have referenced symbols are included in the link.&amp;nbsp; If I remember correctly, for FDS there are no directly referenced symbols from the file in which NRF_SDH_SOC_OBSERVER is used and so the FDS event handler and friends do not appear in the final binary.&amp;nbsp; This is a silent failure which you can only really detect easily be looking in the disassembly of the output file to ensure that all the expected number of event observers have been registered in the observer link sections.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/122217?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 06:22:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407f1427-c8eb-4560-9d50-7a394a79ed81</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;I tried several ways and finally issue was resolved. I had my own Makefile for the project. Now, I used sample application Makefile from SDK and compiled my project which solves the issue. I need to find root cause yet but I have the solution now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/122135?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 13:18:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:496b786e-e41e-4f1d-b192-096a9c32e779</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Just be sure, is nrf_sdh_soc.c included in your build? Just realized that&amp;#39;s possible to build a project without this source file as there are no compile time dependencies for it. This could explain why you are not seeing SD soc events.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121934?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 09:00:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:757ae525-fac9-4447-8db5-6da652041231</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please provide a stripped down version of the project so I can debug it here. You can create a new private support ticket if you don&amp;#39;t want to share&amp;nbsp;it in an open forum.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121932?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 08:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a21145e-bfa1-4769-8fc4-f24669acf668</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;Any update on this question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121790?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 12:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4505af27-18d4-4ab1-858a-f81dacb721a9</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;I already did this. I found this bug from another ticket on nordic devzone and I put the&lt;/p&gt;
&lt;p&gt;&amp;quot;p_fs-&amp;gt;p_flash_info = &amp;amp;m_flash_info;&amp;quot; line outside if condition. The issue is still present after this. I can see that &lt;span&gt;pds_peer_data_store is called, and it returned success, then w&lt;/span&gt;hy would FDS handler of peer manager not be called?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121730?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 17:39:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:285c82be-e704-42a1-90c8-ffa12cc3597c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;There&amp;#39;s a bug in the fstorage module that prevents multiple instances from being initialized correctly. I suspect that this could be the problem. You can modify the init function nrf_fstorage.sd so that p_flash_info is always set when a new instance is registered :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static ret_code_t init(nrf_fstorage_t * p_fs, void * p_param)
{
    UNUSED_PARAMETER(p_param);
    
   p_fs-&amp;gt;p_flash_info = &amp;amp;m_flash_info;

    if (!nrf_atomic_flag_set_fetch(&amp;amp;m_flags.initialized))
    {
        
   /*p_fs-&amp;gt;p_flash_info = &amp;amp;m_flash_info;*/ 
#if NRF_SDH_ENABLED
        m_flags.sd_enabled = nrf_sdh_is_enabled();
#endif

        (void) NRF_ATFIFO_INIT(m_fifo);
    }

    return NRF_SUCCESS;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Fix will be included in upcoming SDK release.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s should not be a problem that you are using an older softdevice on the peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121717?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 16:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09f00246-6353-436c-96e8-f5bdcce47043</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;Yes I have fstorage instance in my app. The FDS call back of peer manager does get the INIT and GC events only. No any read write event. Also as I asked in my question, i am using device with softdevice 2 as peripheral and soft device 5.0 as central. Can that be an issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121692?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 14:42:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fca1409-ad81-4ee0-aafd-f3f72ac8cb33</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;That&amp;#39;s good,&amp;nbsp; it&amp;#39;s trying to store the data at least.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The fstorage backend registers its own observer instance so it is not necessary add a new observer. All observers should however receive the same events.&lt;/p&gt;
&lt;p&gt;Have you registered other FDS/fstorage instances in your app, or is it just the peer manager that uses it?Also, have you tried to see if&amp;nbsp; the fds callback for the PM receives any write/update events (peer_data_storage.c-&amp;gt;fds_evt_handler)?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121670?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 13:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6f1aede-89f4-4170-afea-427df1d53919</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;1.&amp;nbsp;&lt;span&gt;&amp;nbsp;pds_peer_data_store() gets called.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. procedure is&amp;nbsp;PM_LINK_SECURED_PROCEDURE_BONDING&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have doubt on the FDS/FSTORAGE module. I have registered SOC handler using&amp;nbsp;NRF_SDH_SOC_OBSERVER but that handler is never called. I believe it should be called for every flash Write operation. Can that be issue?&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;Also, I am using first the device as peripheral to connect to a Mobile APP, and then after this connection is broken and then I use the device as a central to connect with a peripheral.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121653?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 12:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92dbb3ac-94c1-4fe8-88c4-2e151e0e9ee8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I think it would be best if you could provide a stripped down version of the project as Matt suggested earlier. But please try the following:&lt;/p&gt;
&lt;p&gt;1. Place a breakpoint in peer_data_storage -&amp;gt; pds_peer_data_store() to see if it is being called after BLE_GAP_EVT_AUTH_STATUS. Make sure that any bond info is erased on both devices before you do the test.&lt;/p&gt;
&lt;p&gt;2. Check the pm_evt_t::pm_conn_sec_procedure_t value&amp;nbsp;when you receive the PM_EVT_CONN_SEC_SUCCEEDED event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. If you have a BLE sniffer, try to capture the initial bonding procedure.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121614?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 07:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f523955b-9575-4ed0-976d-529385989be8</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;Debugging further I found that inside the SDK,&amp;nbsp;/peer_data_storage.c file has registered fds_evt_handler. This handler is called only twice, one for INIT event and once for GC (Garbage Collection) event. This both are done before pairing started. I doubt the issue is with FDS? Not sure though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121612?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 05:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e84ef5b2-8431-40b1-980c-988b99b9ba93</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;It was there and I tried removing&amp;nbsp;pm_peers_delete from peer_manager_init but the result was same. Bonding information is not stored and I get same Peer manager events as mentioned above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121591?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 23:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d54fd1c-4bbc-4dc6-b1e1-7d15528c01bb</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Or the bonding data (long term key LTK and other stuff...) is stored in flash but somehow got wiped out later on? Do you call the peer_manager_init(erase_bonds) in your main()? If so, can you check to make sure erase_bonds is set to false?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121551?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 15:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e3ab6fc-8b68-4e8b-ae17-8da414e97bb2</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;When I receive&amp;nbsp;PM_EVT_CONN_SEC_SUCCEEDED event, I call&amp;nbsp;pm_conn_sec_status_get to receive connection status, and in that I &lt;strong&gt;receive &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. conn_sec_status.bonded &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. conn_sec_status.connected &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3.&amp;nbsp; conn_sec_status.encrypted&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;all 3 of the above flags are 1. So the bonding is done but data is not stored in flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121547?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 14:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e4289de-7197-4908-be57-7f10fe1141bd</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;Sorry Matt, I can&amp;#39;t share the project due to NDA signed with client. However, if there are some specific snippets which would help you to look more into the issue, I can share that here. Hope you don&amp;#39;t mind!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121544?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 14:32:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5226ad-2857-4038-b09f-995295e0030d</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Ideally it should be a whole project that the Nordic support folks can take and compile and execute right away. So make sure it&amp;#39;s bare bone and does not contain any proprietary and sensitive info from your company :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121541?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 14:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df78d123-8ca1-41c2-b9fd-20cc9cb1f352</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;I can share specific part of the code. Can you tell me what exactly I should share?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121540?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 14:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdb28bb3-ef22-475d-b8f1-94eb1035bb1e</guid><dc:creator>naman.trivedi</dc:creator><description>&lt;p&gt;1. Yes,&amp;nbsp;&lt;span&gt;SEC_PARAM_BOND is true.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. yes, peer device also supports bonding. I am using same, nrf52 as peer device which will be in peripheral role. The peer device uses SoftDevice 2.0 and the central is using SoftDevice 5.0. Can that be an issue?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121537?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 14:11:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:068fe764-6dcb-466c-8b35-9bb28804be1c</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;So your nRF52 is running as a GAP central role? Can you share your bare minimal GAP central code here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Information not stored in Flash memory</title><link>https://devzone.nordicsemi.com/thread/121535?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 14:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7f10858-85a2-4f0b-99a2-e3f76c00da23</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It sounds&amp;nbsp;like the devices are being paired&amp;nbsp;and not bonded. Please verify that the bond flag is set to &amp;#39;true&amp;#39; when you initialize the PM module:&lt;/p&gt;
&lt;p&gt;static void peer_manager_init(void)&lt;br /&gt;{&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;...&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;sec_param.bond&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= SEC_PARAM_BOND;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then check&amp;nbsp;if the peer device supports bonding as well . This will be reported through the&amp;nbsp;&lt;span&gt;PM_EVT_CONN_SEC_PARAMS_REQ event:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d220602a6dd14177b7e8d7de928654a3/pastedimage1519222174304v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>