<?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>Implementing multilinks on multiroll programs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51970/implementing-multilinks-on-multiroll-programs</link><description>Hello. I am now implementing communication to multiple peripheral devices based on the multi-roll project “ble_app_multirole_lesc”. (image1) 
 Central link after setting memory in previous article ( https://devzone.nordicsemi.com/f/nordic-q-a/51784/about</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Oct 2019 14:20:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51970/implementing-multilinks-on-multiroll-programs" /><item><title>RE: Implementing multilinks on multiroll programs</title><link>https://devzone.nordicsemi.com/thread/212852?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 14:20:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b8b31b-2144-42b3-b686-8f6b9e755bc1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Based on the stack trace in your screenshot it appears the error happens inside the hrs_c_evt_handler(..) function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to see exactly which code line in this function is causing the error?&lt;/p&gt;
&lt;p&gt;Can you attach the implementation of this function here so I can have a look at it?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing multilinks on multiroll programs</title><link>https://devzone.nordicsemi.com/thread/212236?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 10:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f5c752d-f7c5-448f-b7c5-60f67cb3f7d3</guid><dc:creator>Kova</dc:creator><description>&lt;p&gt;Hi ovrebekk.&lt;br /&gt;Sorry for the late reply.&lt;br /&gt;Before change (connection of only a single peripheral device in default state) worked correctly.&lt;br /&gt;Also, I think that the code that refers to the changed code is also supported.&lt;br /&gt;The evt_id when the operation was stopped on the multi-roll side was in one of the following two states.&lt;/p&gt;
&lt;p&gt;evt_id: 48&amp;rArr;BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP&lt;br /&gt;evt_id: 24&amp;rArr;BLE_GAP_EVT_LESC_DHKEY_REQUEST&lt;/p&gt;
&lt;p&gt;Also, when I checked the situation on the debug screen, I found that it stopped with the following exception.&lt;/p&gt;
&lt;p&gt;Exception name: BusFault&lt;br /&gt;Assembly code when an exception occurs: ldr r3, [pc, # 4]&lt;/p&gt;
&lt;p&gt;As a result of examining &amp;quot;BusFault&amp;quot;, I want to see the fault related to address and memory. What can be considered is an error when referring to the memory of an array that is specified more than once. Please let me know if you have any advice.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/_D530EA30FC30BA308B4E8B4F4C3044303B75CF50_.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing multilinks on multiroll programs</title><link>https://devzone.nordicsemi.com/thread/211026?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2019 20:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d988cd-2972-4327-948c-1ce01b627688</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply too. I am currently travelling, so response will be a bit slow...&lt;/p&gt;
&lt;p&gt;I assume you tested this before making the changes to support more links?&lt;/p&gt;
&lt;p&gt;If so it&amp;#39;s a bit odd that just adding multilink support should make the application fail. &lt;br /&gt;You can confirm that this fails even when you try to connect only to a single device?&lt;/p&gt;
&lt;p&gt;Have you double checked the code to make sure that any part of the code that accesses the variables you modified has been updated accordingly?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing multilinks on multiroll programs</title><link>https://devzone.nordicsemi.com/thread/209523?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 06:33:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d30212c9-a067-4ae1-8afc-79b7c7d74104</guid><dc:creator>Kova</dc:creator><description>&lt;p&gt;Hello ovrebekk.&lt;br /&gt;Sorry for the late reply.&lt;br /&gt;Changed according to the advice, no build errors. Thank you!&lt;br /&gt;However, when trying to execute on the first peripheral device, the following execution error occurred.&lt;br /&gt;peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 4352&lt;br /&gt;Disconnected, reason 8&lt;br /&gt;Also, at this time, it turned out that the multi-roll project stopped working when transitioning to the &amp;ldquo;on_ble_central_evt&amp;rdquo; function.&lt;br /&gt;What are the possible causes? Thank you.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Devzone_EA8C4F5528753B75CF50_11.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing multilinks on multiroll programs</title><link>https://devzone.nordicsemi.com/thread/208896?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 11:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ae919e3-4db3-4310-ae65-b3fe840afe8b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I assume the problem occurs because you are trying to assign&amp;nbsp;&lt;span&gt;BLE_CONN_HANDLE_INVALID to&amp;nbsp;m_conn_handle_hrs_c&amp;nbsp;after changing it to an array type.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you try to define&amp;nbsp;m_conn_handle_hrs_c&amp;nbsp; like this instead?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;static uint16_t m_conn_handle_hrs_c [NRF_SDH_BLE_CENTRAL_LINK_COUNT] = {BLE_CONN_HANDLE_INVALID, BLE_CONN_HANDLE_INVALID};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>