<?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>ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10433/ble-pairing-after-poweroff-mode</link><description>kindly check this thread at first 
 my question is when I tried to power off the system using sd_power_off(); then waked up the system then try to connect, it requests to pair again, 
 my question is how to save the pairing information to be used after</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Mar 2016 18:10:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10433/ble-pairing-after-poweroff-mode" /><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38779?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 18:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06c9cd19-2976-4492-8dbd-ce92bb42e393</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;no, @Dani I didn&amp;#39;t solved this problem &amp;amp; didn&amp;#39;t find a reasonable answer :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38778?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2016 16:05:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc45c9da-a66a-4b10-a1e6-2b98035080d4</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;@Mohamed: Have you solved this? Could you share with us the solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38786?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 22:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c5d6cfd-de79-459b-83ff-a026bccbac49</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;I edited the device manager to do what I need... thanks for your great help :) :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38783?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 19:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f29816f-ff78-4924-81fe-6eb78883990b</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;okay @Petter Myhre, you are right, I handled the connection events with the dm manager &amp;amp; the disconnection event is handled by another function using:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;switch (p_ble_evt-&amp;gt;header.evt_id)
		{
			  case BLE_GAP_EVT_DISCONNECTED:
						pattern_ID_6(70,100);
						advertising_start();
						break; 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;, the problem now is that I need after the disconnection I need the development kit to re-start the advertising again using the dm manager ? ? ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38781?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2015 08:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:234077c8-c4a6-473b-8ff1-cbe1da447f73</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The flash will be maintained as long as you don&amp;#39;t erase it. You don&amp;#39;t have to do anything special to not erase it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38782?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 22:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78570e4-f240-4c70-a7ef-17ac444dbb1d</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;okay @petter Myhre, we I tried to use this function and I waked up through the LPCOMP, I found that it requests to perform bonding again, sd_power_system_off() does not earse the flash, what is the conditions that maintain the flash memory while you use the sd_power_off()?, I mean do you enable any flags any function you call before calling the system off function ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38785?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 14:47:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60dee997-8238-4a8a-aeda-59d91e5c8fd1</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;sd_power_system_off() does not erase flash, so the bonding information should still be there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38777?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 11:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a278ab5-971d-438a-9bab-b4e523dbfa62</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;@Aryan in Master control panel, it remembers that the device is a bonded device Aryan but when I try to use  any service it will perform the bonding again that&amp;#39;s the same like the previous problem, the ble module or development kit doesn&amp;#39;t save the boning information, Note that the function I used to go to sleep mode is &amp;quot;sd_power_system_off();&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38776?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 11:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84627921-78a2-4350-a7a0-eb4a1474f559</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;@Aryan I&amp;#39;m using both Aryan , the bonding process &amp;amp; pairing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38784?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 11:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:737f44ef-5ef2-4081-808b-04c66310862c</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;@Petter Myhre the function I used to go to sleep mode is &amp;quot;sd_power_system_off();&amp;quot; is it handled also for this function !!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38775?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 11:28:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0107a81f-9890-440a-b638-9ed9d82d1542</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;mohammed,
My answer is specific for pairing (not bonding) for bonding Petter Myhre has given good answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38780?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 11:23:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0eaaaba-95b7-4ebf-b692-a75696d37b10</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you are using the Device Manager this should already be handled.&lt;/p&gt;
&lt;p&gt;It stores the bonding information in persistently in flash, and loads the bonding information into RAM when you wake up from system off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38774?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 11:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3e01503-4e5f-4d45-9fb3-399fbdcfc2f0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;When the system is woken up from system off, a system reset is applied and all the short term keys will be lost. Also the peer to which your device was connected will forget this keys because going to system off means the peer device most probably disconnected from your device. Which means that even if you have saved paring STK, you wont be able to use it as the peer will not recognize it. Use bonding instead of pairing in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38773?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 10:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bec3f81-4c24-4d99-8b32-0e64fae73f94</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;@Wojtek yes, I want to save the bonding information to be used after the wakeup &amp;amp; the firmware not to perform a new bonding process !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble pairing after poweroff mode</title><link>https://devzone.nordicsemi.com/thread/38772?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 10:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11c67b8a-986b-4776-87fa-443a1c62e3af</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Did you consider using ram retention?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>