<?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 Link Context Manager - example of usage in multiconnect scenario?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39760/ble-link-context-manager---example-of-usage-in-multiconnect-scenario</link><description>I suspect I could avoid writing (admittedly, simple) code to map ble service objects to connection handles and vice-versa if I knew how to properly use the BLE Link Context Manager. I&amp;#39;m finding it challenging sussing out how to do so in a multi-connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Oct 2018 13:00:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39760/ble-link-context-manager---example-of-usage-in-multiconnect-scenario" /><item><title>RE: BLE Link Context Manager - example of usage in multiconnect scenario?</title><link>https://devzone.nordicsemi.com/thread/154290?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 13:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:765a9b2d-9415-4a29-addf-af7a890b9d6d</guid><dc:creator>howard n2wx</dc:creator><description>&lt;p&gt;I&amp;#39;m ashamed to have been all over that implementation but the macro def is difficult to grasp in my head,&amp;nbsp;like squiggly tunnels that, Wumpus-like,&amp;nbsp;all look the same. I&amp;#39;m being kept&amp;nbsp;from my Nordic dopamine high. It&amp;#39;s been too long since I had it.&amp;nbsp; So what should be a simple matter of array-izing the context pointer, isn&amp;#39;t.&amp;nbsp; Please consider putting this on someone&amp;#39;s to-do list, maybe an intern or someone you want to challenge with in-head preproc-macro compilation.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m electing to pretend it doesn&amp;#39;t exist and code something I won&amp;#39;t really care to reuse for one time use because, as you note, it is quite simple.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Link Context Manager - example of usage in multiconnect scenario?</title><link>https://devzone.nordicsemi.com/thread/154249?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 10:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ada6b0d-56f1-4c29-a2d7-c059b69df2b6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have a point. As mentioned &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_ble_link_ctx_manager.html?cp=4_0_0_3_2_2"&gt;here&lt;/a&gt;, the&amp;nbsp;BLE Link Context Manager is used in&amp;nbsp;the HID, NUS, and IAS implementations. However, none of those are used in a multilink example. The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_ble_link_ctx_manager.html?cp=4_0_0_3_2_2"&gt;Message Sequence Chart&lt;/a&gt; shows how it is used. The usage is quite simple though, so i suggest you refer to for instance the NUS implementation in ble_nus.c for an example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>