<?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>subscribing to a characteristic after connection establishment takes 3-4 seconds, how to fasten this?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111831/subscribing-to-a-characteristic-after-connection-establishment-takes-3-4-seconds-how-to-fasten-this</link><description>Hi 
 Is there a way to do this quicker? 
 I have my own custom characteristics. Is it like bonding will imrpove this? Atleast for the case of a reconnection? 
 Is it bonding which would fasten this up? 
 Thx</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jun 2024 07:46:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111831/subscribing-to-a-characteristic-after-connection-establishment-takes-3-4-seconds-how-to-fasten-this" /><item><title>RE: subscribing to a characteristic after connection establishment takes 3-4 seconds, how to fasten this?</title><link>https://devzone.nordicsemi.com/thread/488232?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 07:46:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69b8e87b-6fd6-4b66-8e48-fdc371c945f4</guid><dc:creator>Sigurd</dc:creator><description>[quote user="klaus1234"]Actually I figured out that when I : in windows do a search and pair the device, then in python I can subscribe to the characteristic in about a second.[/quote]
&lt;p&gt;That makes sense, if you bond, then you don&amp;#39;t need to do the service discovery on every re-connection.&lt;/p&gt;
[quote user="klaus1234"]Is there a flag in prj.conf (nrf connect sdk 2.6.0) which makes windows ask to pair upon first connection? Something like &amp;quot;CONFIG_PAIRING=y&amp;quot;?[/quote]
&lt;p&gt;No, not directly. But if you have some characteristics that require security, the GATT client will typically request pairing during/after initial service discovery.&amp;nbsp; I also recommend this dev-academy:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/&lt;/a&gt;&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: subscribing to a characteristic after connection establishment takes 3-4 seconds, how to fasten this?</title><link>https://devzone.nordicsemi.com/thread/487683?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2024 10:09:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f8b1211-d4a3-4a15-8972-97ce5cb01d57</guid><dc:creator>klaus1234</dc:creator><description>&lt;p&gt;Probably no need to analyze my trace anymore&lt;/p&gt;
&lt;p&gt;Actually I figured out that when I : in windows do a search and pair the device, then in python I can subscribe to the characteristic in about a second.&lt;/p&gt;
&lt;p&gt;Is there a flag in prj.conf (nrf connect sdk 2.6.0) which makes windows ask to pair upon first connection? Something like &amp;quot;CONFIG_PAIRING=y&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: subscribing to a characteristic after connection establishment takes 3-4 seconds, how to fasten this?</title><link>https://devzone.nordicsemi.com/thread/487553?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2024 14:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b10544f7-fc47-4f62-ad01-bc448a35f70c</guid><dc:creator>klaus1234</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;wow thanks for the offer to look into a trace. Thas nice&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/for_5F00_devzone.pcapng"&gt;devzone.nordicsemi.com/.../for_5F00_devzone.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: subscribing to a characteristic after connection establishment takes 3-4 seconds, how to fasten this?</title><link>https://devzone.nordicsemi.com/thread/487489?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2024 11:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:722799a3-5f55-4059-bb76-3dd4877760fc</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Do you have sniffer trace of this? That would be helpful to look at in this case.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>