<?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>Testing of Current time service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62450/testing-of-current-time-service</link><description>Hi, 
 I am unable to test current time service example.I followed all the steps mentioned to test CTS Example.But, below are the log messages: 
 
 
 Again if I try to reset and try to connect to the device.The log messages are as below: 
 
 
 Please suggest</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Sep 2020 08:52:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62450/testing-of-current-time-service" /><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/268224?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 08:52:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1082172a-7291-4961-b08c-28482351b113</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The last issue was updated quite long ago. If I get something wrong, please correct me. I think you provide the sniff logs for this issue:&lt;/p&gt;
[quote user="swathi p"]After I press disconnect on nRF Connect,It is getting disconnected after around 30sec.If I press to pairup it is getting bonded after 30sec.Can I know the reason for the delay?[/quote]
&lt;p&gt;From the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/snifflogfor-android.pcapng"&gt;snifflogfor android.pcapng&lt;/a&gt;, I don&amp;#39;t see the delay disconnection issue.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3fc534047368435483fed52c3c5113ea/251149_5F00_4.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;For&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/snifferlog-for-apple.pcapng"&gt;snifferlog for apple.pcapng&lt;/a&gt;, there is no disconnection request from the master. The last status of the log is still under connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/268138?ContentTypeID=1</link><pubDate>Sat, 05 Sep 2020 10:41:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:374805e0-0d75-4a46-9656-2f608973e1c5</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi Amanda Hsieh,&lt;/p&gt;
[quote userid="80477" url="~/f/nordic-q-a/62450/testing-of-current-time-service/258316"]Without sniffer log, I could not know what happens in the air. I could not reproduce that on my side either.&amp;nbsp;[/quote]
&lt;p&gt;I am attaching sniffer log for android and apple.Please check and let me know reason for delay.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/snifflogfor-android.pcapng"&gt;devzone.nordicsemi.com/.../snifflogfor-android.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/snifferlog-for-apple.pcapng"&gt;devzone.nordicsemi.com/.../snifferlog-for-apple.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/264614?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 12:11:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68eb16ea-8c08-4920-921b-5f2124cb2ae4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Swathi,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="swathi p"]May I know when Can I expect the reply?Even my other tickets are also not answered.[/quote]
&lt;p&gt;Did you get the reply to your cases now? Anything I could help you with?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I hope you have a wonderful summer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/259625?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 08:11:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0cd6f3e-cc4b-4e90-ac92-80d85d4f6412</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry, I don&amp;#39;t have the answer to that. I will also&amp;nbsp;start&amp;nbsp;my vacation next week. Please note that we are moving into the summer vacation period here in Norway, so it might take a bit longer to get to the bottom of this than expected, as staff during the month of July will be reduced. I&amp;#39;m sorry about the inconvenience, but please be patient.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/259609?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 07:10:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c05b37-3610-44a7-85db-f2f29cdb2cf6</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/62450/testing-of-current-time-service/258750"]The support staff is reduced during the summer holidays, and you may experience delayed answers.[/quote]
&lt;p&gt;May I know when Can I expect the reply?Even my other tickets are also not answered.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/258750?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2020 08:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03e45aa1-32a9-45ce-a93f-36b381e03c81</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&lt;/p&gt;
[quote user="swathi p"] is this the protocol internally happens that it has to undergo handshakings several times?[/quote]
&lt;p&gt;Yes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="swathi p"]Is there any other way that we can get sniff log info fr one DK and mobile?[/quote]
&lt;p&gt;Unfortunately, no.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The support staff is reduced during the summer holidays, and you may experience delayed answers.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/258316?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 12:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96eb60d0-e896-4184-a0df-8725ab1dbf6d</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;yes,we can see there are&amp;nbsp;&lt;span&gt;many handshakings between the master (phone) and&amp;nbsp;the slave (nRF device).I could notice that there are repeatative handshakings.is it so?Any repeatition is happening unneccessarily,so that by avoiding such repeatition could we solve this delay issue?or is this the protocol internally happens that it has to undergo handshakings several times?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/62450/testing-of-current-time-service/258294"]Without sniffer log, I could not know what happens in the air. I could not reproduce that on my side either.&amp;nbsp;[/quote]
&lt;p&gt;But,as already discussed on this with you that I am testing CTS using nRF chip and mobile by configuring gatt server on mobile.I am unable to provide sniff log.Is there any other way that we can get sniff log info fr one DK and mobile?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/258294?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 11:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70fa2489-4cc3-4fbd-b16a-39d8fd95878b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
[quote user="swathi p"]Then what might be the reason for delay?[/quote]
&lt;p&gt;&lt;span&gt;Please see the blue block part in the figure, there are many handshakings between the master (phone) and&amp;nbsp;the slave (nRF device) for pairing and&amp;nbsp;encryption.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3fc534047368435483fed52c3c5113ea/251149_5F00_2.png" /&gt;&amp;nbsp;&lt;/p&gt;
[quote user="swathi p"]Sniffer works between two nRF Chips that communicate over the air.I don&amp;#39;t have to boarads to test CTS sniffer data.[/quote]
&lt;p&gt;Without sniffer log, I could not know what happens in the air. I could not reproduce that on my side either.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/258282?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 10:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cde9ebd1-7ef4-4162-9c1c-f2e8aec36c1d</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/62450/testing-of-current-time-service/258020"]Sorry to cause the misunderstand. If you take a look at the log, you can see the application will&amp;nbsp;do the&amp;nbsp;&lt;span&gt;security procedure&lt;/span&gt; with&amp;nbsp;&lt;span&gt;peer_manager&amp;nbsp;before service discovery.&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;yes.Then what might be the reason for delay?&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/62450/testing-of-current-time-service/257487"]Please provide the debug log and &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;sniff &lt;/a&gt;log.[/quote]
&lt;p&gt;Sniffer works between two nRF Chips that communicate over the air.I don&amp;#39;t have to boarads to test CTS sniffer data.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/258020?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 09:19:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d5bc40a-2c76-425f-83e1-689afa7734c2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry to cause the misunderstand. If you take a look at the log, you can see the application will&amp;nbsp;do the&amp;nbsp;&lt;span&gt;security procedure&lt;/span&gt; with&amp;nbsp;&lt;span&gt;peer_manager&amp;nbsp;before service discovery.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;lt;info&amp;gt; peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Bonding

&amp;lt;info&amp;gt; ble_db_disc: p_db_discovery-&amp;gt;discovery_in_progress: 0.

&amp;lt;info&amp;gt; peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Bonding data, action: Update

&amp;lt;info&amp;gt; peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update

&amp;lt;info&amp;gt; ble_cts_c: Current Time Service discovered at peer.

&amp;lt;info&amp;gt; app: Current Time Service discovered on server.
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/258012?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 09:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32edc2d2-88f1-45f5-a7de-a1347fa0da6f</guid><dc:creator>swathi p</dc:creator><description>[quote userid="77782" url="~/f/nordic-q-a/62450/testing-of-current-time-service/257987"]For pairing, I see it spend a lot of time on encryption between the mobile and device before&amp;nbsp;&lt;span&gt;the security procedure (&lt;/span&gt;peer_manager) from the sniff log.&amp;nbsp;&lt;span&gt;The current implementation requires security to be established before service discovery.&lt;/span&gt;[/quote]
&lt;p&gt;ok.Can you please let me know what exactly I can do to establish security before service discovery?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257987?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 07:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be0a49a8-48dc-4975-a663-dcddfb4d43b8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For pairing, I see it spend a lot of time on encryption between the mobile and device before&amp;nbsp;&lt;span&gt;the security procedure (&lt;/span&gt;peer_manager) from the sniff log.&amp;nbsp;&lt;span&gt;The current implementation requires security to be established before service discovery.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3fc534047368435483fed52c3c5113ea/251149.png" /&gt;&lt;/p&gt;
&lt;p&gt;For disconnection, I don&amp;#39;t see any delay issue as the&amp;nbsp;&lt;span&gt;sniff log.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3fc534047368435483fed52c3c5113ea/251149_5F00_1.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you still have the delay issue in disconnect, please provide the sniff log. I can check it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257965?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 05:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32dd5ed8-d676-45bb-bc0a-fb21897c4b40</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Connectivity issue solved on iOS,but there is delay in disconnection and pairing.After I press disconnect on nRF Connect,It is getting disconnected after around 30sec.If I press to pairup it is getting bonded after 30sec.Can I know the reason for the delay?&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257487?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 06:42:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d5f645b-a5eb-4a53-8326-98f15ada865c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please provide the debug log and &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;sniff &lt;/a&gt;log. Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257332?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 10:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6648e1e-2727-4506-a320-88308e288b9f</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi Amanda Hsieh,&lt;/p&gt;
&lt;p&gt;Thank you.I tried testing by adding the code that you sent,It is working fine on android.But I found no change with iOS.It has same connectivity issues as I said before.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Swathi P.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257268?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 06:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:849987f7-b3d3-4396-974a-487a9a08feac</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257217?ContentTypeID=1</link><pubDate>Sat, 27 Jun 2020 03:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce0342c6-a188-4dc1-81ee-0c4dcd46112d</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Are you refering Line370 of&amp;nbsp;&lt;span&gt;peer_manager_handler.c&lt;/span&gt; ,which is in the function&amp;nbsp;pm_handler_flash_clean()&amp;nbsp; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257108?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 11:20:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b025e746-ae6f-4a53-8f85-24f4df6e72fd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;case PM_EVT_PEER_DATA_UPDATE_SUCCEEDED is in main.c.&lt;/p&gt;
&lt;p&gt;case PM_EVT_CONN_SEC_CONFIG_REQ is in&amp;nbsp;&lt;span&gt;peer_manager_handler.c Line 370. You can press Ctrl+Shift+f in Segger to search &amp;quot;PM_EVT_CONN_SEC_CONFIG_REQ&amp;quot;.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257088?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 10:09:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79437a61-8c79-47d8-aa8b-da4974917d97</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your suggestion.I have tried adding the below statements in main.c pm_evt_handler()&lt;/p&gt;
&lt;p&gt;I just replaced both the cases in pm_evt_handler.Even after deleting bond information I am able to connect by pairing.&lt;/p&gt;
&lt;p&gt;Is it not that pm_evt_handler in main.c you were talking about?&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t find any&amp;nbsp;&lt;span&gt;PM callback&amp;nbsp; in&amp;nbsp;peer_manager_handler.c.Can you give me the function name?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Swathi P.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257080?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 09:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c9911bb-6609-4f1a-bed4-68e53817bf01</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can do&amp;nbsp;&lt;b&gt;Button 2 long push&lt;/b&gt;: Turn off whitelist during advertising or scanning. Please see the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/examples_bsp.html#examples_ble_button_functionality"&gt;BSP BLE Button Assignments&lt;/a&gt;. Or&amp;nbsp;&lt;span&gt;You may add the following event handling to the PM callback in peer_manager_handler.c if you want to allow repairing like this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        case PM_EVT_CONN_SEC_CONFIG_REQ:
               {
                    pm_conn_sec_config_t config = {.allow_repairing = true};
                    pm_conn_sec_config_reply(p_pm_evt-&amp;gt;conn_handle, &amp;amp;config);
                }
            break;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;&lt;span&gt;have a loop to go through&amp;nbsp;m_whitelist_peers[] array to check if there is an element inside that array is equal to&amp;nbsp;m_peer_id. If not then you add it as a new node into the array like this:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        case PM_EVT_PEER_DATA_UPDATE_SUCCEEDED:
        {
            // Note: You should check on what kind of white list policy your application should use.
            if (     p_evt-&amp;gt;params.peer_data_update_succeeded.flash_changed
                 &amp;amp;&amp;amp; (p_evt-&amp;gt;params.peer_data_update_succeeded.data_id == PM_PEER_DATA_ID_BONDING))
            {
                NRF_LOG_DEBUG(&amp;quot;New Bond, add the peer to the whitelist if possible&amp;quot;);
                NRF_LOG_DEBUG(&amp;quot;\tm_whitelist_peer_cnt %d, MAX_PEERS_WLIST %d&amp;quot;,
                               m_whitelist_peer_cnt + 1,
                               BLE_GAP_WHITELIST_ADDR_MAX_COUNT);

                if (m_whitelist_peer_cnt &amp;lt; BLE_GAP_WHITELIST_ADDR_MAX_COUNT)
                {

                    //check if there is any element inside that array is equal to m_peer_id
                    bool already_added= false;

                for (uint8_t i = 0; i&amp;lt;m_whitelist_peer_cnt;i++)
                
                {
                
                    if (m_whitelist_peers[i] == m_peer_id)
                    {
                        already_added= true;
                        break;
                    }
                }
                        
                if (!already_added)
                {

                //End of adding
                
                    // Bonded to a new peer, add it to the whitelist.
                    m_whitelist_peers[m_whitelist_peer_cnt++] = m_peer_id;

                    // The whitelist has been modified, update it in the Peer Manager.
                    err_code = pm_device_identities_list_set(m_whitelist_peers, m_whitelist_peer_cnt);
                    if (err_code != NRF_ERROR_NOT_SUPPORTED)
                    {
                        APP_ERROR_CHECK(err_code);
                    }

                    err_code = pm_whitelist_set(m_whitelist_peers, m_whitelist_peer_cnt);
                    APP_ERROR_CHECK(err_code);
                } 
                }//End of adding
            }
        } break;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/257036?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 04:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e306488-d431-4dc2-b8de-937a924c09ad</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you.Your reply has helped me in testing CTS example.I was success&amp;nbsp; to connect,bond and discover service and print data on UART.But,If I try to delete bond information and try to scan and connect it is showing below log info and unable to discover service.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ctsloginfo.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;If I erase the kit and then download after deleting bond information then it is working fine.Is CTS service always looking for whitelisted devices?Can you please explain me what exactly it does when we delete bond information on nRF Connect for mobile.&lt;/p&gt;
&lt;p&gt;In my project I cannot frequently erase and download.so please let me know if there is other way to Connect,pair and bond&amp;nbsp; and discover service after deleting bond information.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/256932?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 13:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26bbb8f3-2cb2-4737-ae1e-a0388eeda5e6</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The disconnection reason is the service is not found on the server. You can use the nRF Connect mobile to configure GATT server as the following to test with the example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3fc534047368435483fed52c3c5113ea/250724.png" /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/255911?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 09:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba369fe9-5253-4f84-9b6e-ed14f001b3dd</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, I have erased the kit every time I have downloading the application.Below is the log info while testing on android.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Capturelog.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;The below is the log info while testing on iOS:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3377.appletesting.JPG" /&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/62450/testing-of-current-time-service/255890"]&amp;nbsp;Did you set with &amp;quot;Use autoConnect&amp;quot;?[/quote]
&lt;p&gt;No.I didn&amp;#39;t set with &amp;quot;Use autoConnect&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/255890?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 08:09:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53032445-e64a-4196-86ab-1e377ff75571</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Swathi,&amp;nbsp;&lt;/p&gt;
[quote user="swathi p"]I compile and download the program on nRF Chip and scan from nRF Connect then try to connect to nRF Chip from nRF Connect by clicking on connect button.Unable to connect to the device.[/quote]
&lt;p&gt;Did you erase the chip before downloading the image? The good habit is &lt;a title="Erasing the kit" href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/erase_board_ses.html?cp=1_1_2_7_0"&gt;Erasing the kit&lt;/a&gt; every time before downloading the image.&amp;nbsp;&lt;/p&gt;
[quote user="swathi p"]Then tried erasing the Chip and then programmed with softdevice and application.Now I tried connecting from nRF Connect to nRF Chip,I was able to connect and asked for pair up,accepted to pair up.After some noticable delay I was able to Discover services.Can you please let me know the reason for the delay?[/quote]
&lt;p&gt;Please provide&amp;nbsp;the debug log and &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;sniff &lt;/a&gt;log to help know the detail.&amp;nbsp;&lt;/p&gt;
[quote user="swathi p"]If I try to disconnect device it is not getting disconnected,even if I turn off the bluetooth it is not getting disconnected.[/quote]
&lt;p&gt;&amp;nbsp;&lt;span&gt;&amp;nbsp;Did you set with &amp;quot;Use autoConnect&amp;quot;? Also, I need&amp;nbsp;the debug log and&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;sniff&amp;nbsp;&lt;/a&gt;log to help know what happened.&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="swathi p"]After pressing reset button it is automatically being in connected state.[/quote]
&lt;p&gt;&amp;nbsp;Did you set with &amp;quot;Use autoConnect&amp;quot;?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3fc534047368435483fed52c3c5113ea/autoConnect.png" /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing of Current time service</title><link>https://devzone.nordicsemi.com/thread/255867?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 04:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0182c6dd-0122-4d08-9b17-b325172aad38</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;your reply is not that helpfull to progress our project.Let us know the exact connection procedure.&lt;/p&gt;
&lt;p&gt;The below are the consequences I am going through while testing&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I compile and download the program on nRF Chip and scan from nRF Connect then try to connect to nRF Chip from nRF Connect by clicking on connect button.Unable to connect to the device.&lt;/li&gt;
&lt;li&gt;Then tried erasing the Chip and then programmed with softdevice and application.Now I tried connecting from nRF Connect to nRF Chip,I was able to connect and asked for pair up,accepted to pair up.After some noticable delay I was able to Discover services.Can you please let me know the reason for the delay?&lt;/li&gt;
&lt;li&gt;If I try to disconnect device it is not getting disconnected,even if I turn off the bluetooth it is not getting disconnected.&lt;/li&gt;
&lt;li&gt;After pressing reset button it is automatically being in connected state.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>