<?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>Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71578/hrs-peripheral-example</link><description>Hi, can you assist please.... 
 I am using the Hrs example in SDK 17.0.2 as the basis for an application. 
 Using an unmodified code by loading the supplied hex file ble_app_hrs_pca10040_s132.hex loaded into an nRF52 DK board I notice a few things...</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Feb 2021 11:53:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71578/hrs-peripheral-example" /><item><title>RE: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/296514?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 11:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:780af62c-8a2d-4185-a92f-29faf2decacd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have a nice weekend. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&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: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/296509?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 11:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a66053de-3772-4069-bc95-529776398981</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Hi Amanda&lt;/p&gt;
&lt;p&gt;I had time to revist this today and have better news.&lt;/p&gt;
&lt;p&gt;After reprogramming the 2 nrF52DKs, swapping some cables and connections to a USB hub everyting apperas to function as expected! I cannot pin point what was wrong, however one of the DKs needed to have the Jlink OB loaded again, more recently it was being used with the&amp;nbsp;first PPK.&lt;/p&gt;
&lt;p&gt;If it happens again and I get more clues etc I&amp;#39;ll let you know.&lt;/p&gt;
&lt;p&gt;Have a great weekend.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/295688?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 16:51:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f59e3ab8-79fa-4a0c-86da-45578d3d97ca</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;I don&amp;#39;t have the log saved Amanda.&lt;/p&gt;
&lt;p&gt;If I get a spare moment I&amp;#39;ll send one but can&amp;#39;t commit to a timeframe.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/295666?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 15:38:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cf8e922-9b4a-4811-b409-80f022fbbf19</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;No, I need the&amp;nbsp;sniffer file instead of the images for the last disconnection of&amp;nbsp;&lt;span&gt;LMP_RESPONSE_TIMEOUT if you want to know the root cause&lt;/span&gt;. The original disconnect reason is&amp;nbsp;BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION, and the third&amp;nbsp;&lt;span&gt;Sniffer trace image shows the master side disconnected connection. That is different from what I saw after your last update.&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: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/295659?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 15:24:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb429fb6-f584-450f-a03a-c572a702cef8</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;There are a couple above Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/295614?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 14:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5301e719-e17f-45a7-9fd9-1a872fc6e876</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to upload the sniffer 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: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/295593?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 13:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce28b04f-c6b5-41f1-81dc-014d3bcdb631</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Hi Amanda&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did not modify anything, hex file loaded into a nRF52 DK as mentioned. Then just following the notes for the Hrs example.&lt;/p&gt;
&lt;p&gt;Win 10 for the OS.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/295581?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 13:13:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b783458-5359-4321-b97d-793b54726f5b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The disconnection reason 34 (0x22) is&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group___b_l_e___h_c_i___s_t_a_t_u_s___c_o_d_e_s.html#ga91c40ef8a7c61f6a3a036eac70956491"&gt;&lt;span&gt;BLE_HCI_STATUS_CODE_LMP_RESPONSE_TIMEOUT&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp; which is the same as&amp;nbsp;&lt;/span&gt;&lt;span&gt;the log indicates on the nRF Connect BLE app after the connection parameters update.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What do you modify the example?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;What OS is the&amp;nbsp;&lt;span&gt;nRF Connect BLE App running on?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The LENGTH_REQ is not handled correctly and will result in a LMP_RESPONSE_TIMEOUT. You could try to&amp;nbsp;modify the NRF_SDH_BLE_GATT_MAX_MTU_SIZE as 23 in the sdk_config.h.&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: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/295290?ContentTypeID=1</link><pubDate>Fri, 19 Feb 2021 10:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c25151f-06b3-4bb2-a859-3550229454a5</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Hi Amanda&lt;/p&gt;
&lt;p&gt;I just revisited this issue.&lt;/p&gt;
&lt;p&gt;Using a nRF52 DK - First I used nrF Connect Programmer to erase all and then program with the supplied hex file in the Hex files folder for Hrs Ble Peripheral.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/pastedimage1613728239176v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then I use a new nrF52 DK board with nrF Connect which programs that board.&lt;/p&gt;
&lt;p&gt;Using the BLE app in nrF Connect Tools I go through the same procedure to try and pair with the Ble Hrs peripheral.&lt;/p&gt;
&lt;p&gt;I re do the procedure to pair ok and thne press Play.&lt;/p&gt;
&lt;p&gt;Here is the terminal output of the Ble peripheral stating reason 34 for the disconnection.&lt;/p&gt;
&lt;p&gt;&lt;img height="265" src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/pastedimage1613730302083v5.png" width="343" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and here the Log output in nrF Connect BLE App.&lt;/p&gt;
&lt;p&gt;&lt;img height="57" src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/pastedimage1613730281156v4.png" width="365" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Showing the attribute value change/written and then a connection update and then disconnection.&lt;/p&gt;
&lt;p&gt;As mentioned before, my adapted version of the Hrs peripheral (which is on a Fanstel board) and using nrF52 DK board programmed with the Hrs Central it is working fine.&lt;/p&gt;
&lt;p&gt;Also ok if I use a nrf52DK programmed as the Central, functions as expected with Peripheral.&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m happy with that but it would be good to know why this method is not working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/294752?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 07:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc71fee9-b065-4485-b0d8-4f38767f53c1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I see. Please let me know the result. 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: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/294671?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 15:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:017a3e49-c1f6-4917-95a0-ec506869f535</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Hi Amanda&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll revisit this shortly. However to program the central I just dragged the hex file to the JLINK drive of the nRF52 DK. So will erase all/reprogra using nrF Connect programmer and see if that changes anythng.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/294388?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 13:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e7446a-94d3-46b6-8dcc-7b38f38ec3e8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to provide the log from the terminal tool?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would you see the same issue if you do &amp;quot;Erase all&amp;quot; before &amp;quot;Erase &amp;amp; write&amp;quot; on that board? I cannot reproduce that issue on my side and hard to say what causes that without the log.&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: Hrs Peripheral Example</title><link>https://devzone.nordicsemi.com/thread/294360?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 12:10:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9599d8cd-3766-42d1-a074-b6b3cf47197d</guid><dc:creator>MPH</dc:creator><description>&lt;p&gt;Hi, I developed the peripheral application further with another nRF52 DK programmed with the Hrs central example. That pair of boards works as expected and so now it is nice to know the reason why the observations in the thread above are being made.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>