<?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>Exact sequence of Peer Manager events at time of pairing.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21521/exact-sequence-of-peer-manager-events-at-time-of-pairing</link><description>Hi, 
 I am performing &amp;quot;just pairing&amp;quot; using peer manager ( SDK 11.0 ) in my custom board which uses nrf52 chip. 
 I am getting this events 
 
 PM_EVT_CONN_SEC_START, 
 PM_EVT_CONN_SEC_SUCCEEDED, 
 PM_EVT_PEER_DATA_UPDATE_SUCCEEDED - this events i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Apr 2017 14:39:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21521/exact-sequence-of-peer-manager-events-at-time-of-pairing" /><item><title>RE: Exact sequence of Peer Manager events at time of pairing.</title><link>https://devzone.nordicsemi.com/thread/84487?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 14:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:435aec7b-edda-4728-85fb-213af5f6b5c7</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! If I answered your question please consider accepting my answer by clicking the grey circle next to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exact sequence of Peer Manager events at time of pairing.</title><link>https://devzone.nordicsemi.com/thread/84486?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 14:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2ad01f3-3b94-4f60-bc69-c5262b0036b0</guid><dc:creator>Ankit</dc:creator><description>&lt;p&gt;I found the solution. it is fds which causes the peer-manager event miss. Now i perform fds_gc() after every peer-manager operation and it all works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exact sequence of Peer Manager events at time of pairing.</title><link>https://devzone.nordicsemi.com/thread/84485?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 14:10:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a38ac2a0-46a6-47e4-a50c-bc3f966d8622</guid><dc:creator>Ankit</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My application is doing multiple thing at the same time like
communication over BLE, data transfer over uart, and few sensor management.&lt;/p&gt;
&lt;p&gt;So while pairing process is going on, if i do uart communication at the same time, i am receiving incomplete uart data. And this only happens when my central is busy doing peer-manager-data-update. So it is very important for me to get exact event that state that peer-manager has completed its work. So that i can start other stuff.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exact sequence of Peer Manager events at time of pairing.</title><link>https://devzone.nordicsemi.com/thread/84484?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad54cd0e-e1ca-40eb-8cfd-5ca9d1039171</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What kind of problem? I don&amp;#39;t understand. Why do you have to wait until the events are completed? I don&amp;#39;t think you can tell Peer Manager not to update anything, I guess it is doing it for a reason. I&amp;#39;m not exactly sure what is updated in your case though?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exact sequence of Peer Manager events at time of pairing.</title><link>https://devzone.nordicsemi.com/thread/84483?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:12:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e699a58-ec3b-4110-ab80-75bbb7c8219b</guid><dc:creator>Ankit</dc:creator><description>&lt;p&gt;Thanks Petter for responding.&lt;/p&gt;
&lt;p&gt;I am getting these events. But after receiving PM_EVT_CONN_SEC_START event. I start data transfer over BLE causes problem in my communication. So i have to wait untill all peer manager events are completed.&lt;/p&gt;
&lt;p&gt;Is there any way to tell peer manager that do not update anything. By doing so i do not want to receive PM_EVT_PEER_DATA_UPDATE_SUCCEEDED events multiple times.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Exact sequence of Peer Manager events at time of pairing.</title><link>https://devzone.nordicsemi.com/thread/84482?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 11:08:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df19760-fe9b-4c02-a861-2b735d99c3d2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You should get:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;PM_EVT_BONDED_PEER_CONNECTED - A connected peer has been identified as one with which we have a bond.&lt;/li&gt;
&lt;li&gt;PM_EVT_CONN_SEC_START - A security procedure has started on a link, initiated either locally or remotely.&lt;/li&gt;
&lt;li&gt;PM_EVT_CONN_SEC_SUCCEEDED - A link has been encrypted, either as a result of a call to @ref pm_conn_secure or a result of an action by the peer.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;PM_EVT_PEER_DATA_UPDATE_SUCCEEDED - A piece of peer data was stored, updated, or cleared in flash storage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>