<?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>Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23377/bond-information-not-stored-in-flash</link><description>Hi,
I was in a process of developing a central device with nrf51422 in PCA10028 board with NUS service client.I use SDK v12.2.0.We have an example code in the library which I modified for multiple devices support.The device connects based on NUS Service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Jul 2017 05:33:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23377/bond-information-not-stored-in-flash" /><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91891?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 05:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47893ed7-7d77-4895-9fab-dc3a730caa77</guid><dc:creator>Antony Tom Mathews</dc:creator><description>&lt;p&gt;That solved the issue.Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91890?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2017 12:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8096a7b1-1525-429d-8da5-d570c591263b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I can&amp;#39;t see that you are doing this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Fstorage

First, we will set up the underlying flash storage module. Device Manager relied on pstorage, while Peer Manager uses the newer fstorage. In sys_evt_dispatch(), remove the call to pstorage_sys_event_handler() and add a call to fs_sys_event_handler() at the same location:

// Forward Softdevice events to the fstorage module
fs_sys_event_handler(sys_evt);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;anywhere?&lt;/p&gt;
&lt;p&gt;You also need to set the system event handler with softdevice_sys_evt_handler_set().&lt;/p&gt;
&lt;p&gt;You can see how this is done in ble_app_hrs for example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91885?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 12:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c52bbd64-72c2-4fef-b1b0-3cd7c063c9cd</guid><dc:creator>Antony Tom Mathews</dc:creator><description>&lt;p&gt;Attached peripheral project above.I use Keil uv5.The intended behaviour for my server and client would be like hrs_c and hrs projects which bonds and accept connection again.I&amp;#39;m hinking of using hrs_c and hrs projects add services for my need and MITM too in that code.But before that I need to know what went wrong in this code.Since I added Peer manager referring to the guide to move from device manager to peer manager.Is there some relevant Macros that I need to change?I need some guide on whitelisting too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91887?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 11:42:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d276d424-dd08-484e-a722-7f76c401229e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Just zip your complete project, edit your question and attach it there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91886?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 11:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7db42f78-4942-4695-8317-2cccc68290a8</guid><dc:creator>Antony Tom Mathews</dc:creator><description>&lt;p&gt;How to upload code here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91888?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 08:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17438f64-877a-4391-97a1-a4ec6239e4ce</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. Could you upload your complete peripheral project so I can test it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91884?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 04:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26703d4e-4788-42ea-ad49-3686c25c339c</guid><dc:creator>Antony Tom Mathews</dc:creator><description>&lt;p&gt;This is the security params passed in peripheral code&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SEC_PARAM_BOND                   1
#define SEC_PARAM_MITM                   1
#define SEC_PARAM_LESC                   0
#define SEC_PARAM_KEYPRESS               0
#define SEC_PARAM_IO_CAPABILITIES        BLE_GAP_IO_CAPS_DISPLAY_ONLY                  
#define SEC_PARAM_OOB                    0
#define SEC_PARAM_MIN_KEY_SIZE           7
#define SEC_PARAM_MAX_KEY_SIZE           16
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;THE STATIC PASSKEY IS REGISTERED IN GAP_PARAMS_INIT FUNCTION USING sd_ble_opt_set()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91883?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 04:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bed5542-3b12-4a87-bc00-400d98cfad25</guid><dc:creator>Antony Tom Mathews</dc:creator><description>&lt;p&gt;Hi Petter,&lt;/p&gt;
&lt;p&gt;This is the security params passed in central.Also upon BLE_GAP_EVT_AUTH_KEY_REQUEST event static passkey of peripheral is passed via sd_ble_gap_auth_key_reply() function.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SEC_PARAM_BOND              1           
#define SEC_PARAM_MITM              1                                  
#define SEC_PARAM_LESC              0                          
#define SEC_PARAM_KEYPRESS          0   
#define SEC_PARAM_IO_CAPABILITIES   BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY  
#define SEC_PARAM_OOB               0                                   
#define SEC_PARAM_MIN_KEY_SIZE      7 
#define SEC_PARAM_MAX_KEY_SIZE      16
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond information not stored in Flash</title><link>https://devzone.nordicsemi.com/thread/91889?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2017 14:28:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60ddc676-4be0-4258-840b-5745b7ca9f28</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What security parameters are you giving to pm_sec_params_set()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>