<?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>(NRF52810) Subscribe to characteristics fail and issues disconnect to board.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44634/nrf52810-subscribe-to-characteristics-fail-and-issues-disconnect-to-board</link><description>Hello 
 We are using custom board which has two chip configuration for BLE stack. Main MCU runs the Zephyr Host only BT stack in peripheral mode.This is supposed to be GATT server. Laired connectivity BL651 chip which has nRF52810 MCU, which runs zephyr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Mar 2019 15:03:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44634/nrf52810-subscribe-to-characteristics-fail-and-issues-disconnect-to-board" /><item><title>RE: (NRF52810) Subscribe to characteristics fail and issues disconnect to board.</title><link>https://devzone.nordicsemi.com/thread/176777?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 15:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81709ae7-daea-4228-8e00-986afa26dc3f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;What is the link supervision timeout set to ? Could you increase it to 4 sec?&lt;/p&gt;
&lt;p&gt;Do you have any logs(either over UART or Segger RTT) from the&amp;nbsp;peripheral side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: (NRF52810) Subscribe to characteristics fail and issues disconnect to board.</title><link>https://devzone.nordicsemi.com/thread/176046?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 19:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:207a8d1e-d727-4b62-9af5-83688403b5b8</guid><dc:creator>laird_user</dc:creator><description>&lt;p&gt;We don&amp;#39;t have nRF sniffer. We are using Bluegiga Interface tool.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our board acts as a Peripheral and BLED112 as the BLE dongle for the windows machine.&lt;/p&gt;
&lt;p&gt;Logs when I click connect button on the interface tool --&lt;/p&gt;
&lt;p&gt;2019.03.14 00:59:49.687 ble_cmd_gap_connect_direct address: bb d1 4f 9c 91 c3 addr_type: 1 (0x01) conn_interval_min: 60 (0x003c) conn_interval_max: 76 (0x004c) timeout: 100 (0x0064) latency: 0 (0x0000)&lt;br /&gt;2019.03.14 00:59:49.693 TX: 000f0603bbd14f9c91c3013c004c0064000000&lt;/p&gt;
&lt;p&gt;2019.03.14 00:59:49.698 ble_rsp_gap_connect_direct result:0x0000 ['No Error'] connection_handle: 0 (0x00)&lt;br /&gt;2019.03.14 00:59:49.699 RX: 00030603000000&lt;/p&gt;
&lt;p&gt;2019.03.14 00:59:49.742 ble_evt_connection_status connection: 0 (0x00) flags: 5 (0x05) address:c3:91:9c:4f:d1:bb address_type: 1 (0x01) conn_interval: 60 (0x003c) timeout: 100 (0x0064) latency: 0 (0x0000) bonding: 255 (0xff)&lt;br /&gt;2019.03.14 00:59:49.746 RX: 801003000005bbd14f9c91c3013c0064000000ff&lt;/p&gt;
&lt;p&gt;2019.03.14 00:59:50.848 ble_evt_connection_disconnected connection: 0 (0x00) reason:0x0208 ['&lt;strong&gt;Link supervision timeout has expired.&lt;/strong&gt;']&lt;br /&gt;2019.03.14 00:59:50.863 RX: 80030304000802&lt;/p&gt;
&lt;p&gt;Clearly the last packet is the disconnect event received. I believe it should have been version_ind_event.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When we configured the board to act as CENTRAL and the mobile app as peripheral, the board kept connected-disconnected. It didn&amp;#39;t stay connected even for a second.&amp;nbsp; Reason for disconnection printed was 62.&lt;/p&gt;
&lt;p&gt;POINT TO NOTE - our board doesn&amp;#39;t have external oscillator instead is using the in-built RC oscillator. And the two configs of setting RC and its value to 250PPM in zephyr is set properly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: (NRF52810) Subscribe to characteristics fail and issues disconnect to board.</title><link>https://devzone.nordicsemi.com/thread/176031?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 17:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29e0da29-c6e0-4d69-9e59-eea7ed3d237e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you attach the packet sniffer logs here ? What sniffer are you using ?&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer"&gt; nRF sniffer&lt;/a&gt; ?&lt;/p&gt;
&lt;p&gt;If you connect to the BLE&amp;nbsp;&lt;span&gt;peripheral using a smartphone, e.g. with &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Connect-for-mobile"&gt;nRF Connect for mobile&lt;/a&gt;, do you see the same issue?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="77675" url="~/f/nordic-q-a/44634/nrf52810-subscribe-to-characteristics-fail-and-issues-disconnect-to-board/175324"]Most of the people in the support groups have mentioned that upgrading the zephyr code has resolved the issue. Do you think the same could be with our case? If yes then which tag and version should we be using of zephyr?[/quote]
&lt;p&gt;&lt;span&gt;You could maybe ask in the support group where you find this information about what zephyr version they upgraded to. You could maybe try the latest release(v1.13.0), or latest release candidate(v1.14.0-rc1).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: (NRF52810) Subscribe to characteristics fail and issues disconnect to board.</title><link>https://devzone.nordicsemi.com/thread/175324?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 12:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83dc8c38-b436-46df-89ae-f90a3ce8216e</guid><dc:creator>laird_user</dc:creator><description>&lt;p&gt;From the packet sniffers, what we understood is&amp;nbsp;&lt;strong&gt;ble_evt_connection_version_ind&lt;/strong&gt; event is not getting generated from the board. No communication happens for a while and then suddenly &amp;quot;ble_evt_connection_disconnected connection: 0 (0x00) reason:0x0208 ['Link supervision timeout has expired.']&amp;quot; is received by the central.&lt;/p&gt;
&lt;p&gt;Most of the people in the support groups have mentioned that upgrading the zephyr code has resolved the issue. Do you think the same could be with our case? If yes then which tag and version should we be using of zephyr?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: (NRF52810) Subscribe to characteristics fail and issues disconnect to board.</title><link>https://devzone.nordicsemi.com/thread/175291?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 11:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9fba183-9d84-44bb-8b16-f0461fa0b71e</guid><dc:creator>laird_user</dc:creator><description>&lt;p&gt;Any inputs on this please???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: (NRF52810) Subscribe to characteristics fail and issues disconnect to board.</title><link>https://devzone.nordicsemi.com/thread/175214?ContentTypeID=1</link><pubDate>Sun, 10 Mar 2019 18:07:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e875814f-f4bd-45fa-aa35-d8c5a6f833a1</guid><dc:creator>laird_user</dc:creator><description>&lt;p&gt;Another update -&lt;br /&gt;Checked with other centrals also and tried to sniff the packet. What we understood is that moment after connect happens, in a while disconnect event with error 0x0208 is sent.&lt;/p&gt;
&lt;p&gt;Also observed one thing, addr_type set in our board is Random. ( this thing we noticed while we were comparing with other logs).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: (NRF52810) Subscribe to characteristics fail and issues disconnect to board.</title><link>https://devzone.nordicsemi.com/thread/175209?ContentTypeID=1</link><pubDate>Sun, 10 Mar 2019 13:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58901777-7a39-4a61-b1d0-ee49221112b7</guid><dc:creator>laird_user</dc:creator><description>&lt;p&gt;Our further analysis -&lt;br /&gt;At the central side, When the python script starts fetching the Characteristics it sends the Request as attclient_find_information to which the response is successful. This command is followed by Bluetooth attclient_procedure_completed to which the response is [128, 3, 3, 4, 0, 8, 2] which means disconnect.&lt;br /&gt;&lt;strong&gt;Hence, it means that controller issued a response to disconnect instead of the version_ind_packet&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Going through the version_ind_send code in blue tooth, it sends an empty packet and I think waits for the next connection interval to send the actual data. The central has predefined expectation of data and hence is not ack-ing? to which the peripheral sends the disconnect event.&lt;/p&gt;
&lt;p&gt;Is this the right direction we are in ??&lt;/p&gt;
&lt;p&gt;Really looking forward to a reply on it. Thank you so much !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>