<?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>pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44372/pc-ble-driver-example-heart_rate_collector-get-disconnected-with-error-0x22</link><description>Hi, 
 
 I am running on pc-ble-driver master branch. 
 https://github.com/NordicSemiconductor/pc-ble-driver 
 Currently I am using abce7974fe983c23930d362b1769e51c8fa13cbf . 
 
 I am trying to verifying the newly added connectivity firmware for nRF52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Mar 2019 14:02:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44372/pc-ble-driver-example-heart_rate_collector-get-disconnected-with-error-0x22" /><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/175042?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 14:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35280aee-1d2e-4dab-ad7f-c7aa3e0fa50f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Then your application is doing something that it isn&amp;#39;t allowed to. It would be nice if you can start a new ticket, yes, then someone will help you out.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174740?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2019 08:54:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea9e8e98-f838-475e-9150-6b776554098d</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Tried. No luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174645?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 17:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21cd4392-8b5b-42b1-a873-90f920729f85</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Do you reset the nRF after programming it with the .hex file? Try to power cycle it before you run your project from the terminal. Any luck?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174641?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 17:06:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f13f0595-6343-4033-b586-af40b945ccd4</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Tried flashed under Linux with nRF connect programmer. Didn&amp;#39;t work:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ ./heart_rate_collector_v6 /dev/ttyACM2 
Serial port used: /dev/ttyACM2
Baud rate used: 1000000
Info: Successfully opened /dev/ttyACM2. Baud rate: 1000000. Flow control: none. Parity: none.
Log: State change: STATE_START -&amp;gt; STATE_RESET
Log:        1 -&amp;gt;  [N/A] type:          RESERVED_5 reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
Status: 6, message: Target Reset performed
Log: State change: STATE_RESET -&amp;gt; STATE_UNINITIALIZED
Log:        2 -&amp;gt;  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
Log:        3 -&amp;gt;  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
Log:        4 -&amp;gt;  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
Log:        5 -&amp;gt;  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
Log:        6 -&amp;gt;  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
Log:        7 -&amp;gt;  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
Status: 0, message: No response from device. Tried to send packet 6 times.
Log: State change: STATE_UNINITIALIZED -&amp;gt; STATE_NO_RESPONSE
Failed to open nRF BLE Driver. Error code: 0x0D
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174635?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 16:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f02b63ba-115f-43ed-95ef-a936828ef68d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3f6b361eb8384384924a71af441319eb/connectivity_5F00_4.0.0_5F00_1m_5F00_with_5F00_s132_5F00_6.1.0.hex"&gt;devzone.nordicsemi.com/.../connectivity_5F00_4.0.0_5F00_1m_5F00_with_5F00_s132_5F00_6.1.0.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just for fun, can you try to flash this image instead? The pc-ble-driver has some patches for the connectivity firmware, so depending on how you compiled it, these patches were might not included. Let me know if it still behaves the same.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174585?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 13:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c14bb03-423f-4767-add9-742819123389</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;As I mentioned earlier, I run everything under Ubuntu 18.04. I follow the instruction to compile from source. I compiled connectivity firmware hex file as well. I flashed it using nrf-connect AppImage under Linux with latest updates.&lt;/p&gt;
&lt;p&gt;I am running heart_rate_colletcor_v6 by:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ ./heart_rate_collector_v6 /dev/ttyACM2 &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174574?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 13:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f9eb3d-a465-4f2e-a9c9-bf680aa7fc3b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;what command did you write to get this message? What example are you running? Please post the command like this:&lt;/p&gt;
&lt;p&gt;heart_rate_collector_v6.exe COM7&lt;/p&gt;
&lt;p&gt;that you used to start the example.&lt;/p&gt;
&lt;p&gt;The example is running. It looks like you failed scan start with error code 32773 (=0x8005).&lt;/p&gt;
&lt;p&gt;As far as I can tell, this should not be possible. But let me know what example you are running.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174540?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 12:42:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee3e4a7b-f5b4-4393-8f9a-4e40cb83aa34</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Shall I open another ticket for PCA10040 issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174532?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 12:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2833ae89-42c7-466a-9637-d65f41bb4beb</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Yes, I am sure PCA10040 nRF52832 DK not working with ..._with_s132_... for release 4.0.0.&lt;/p&gt;
&lt;p&gt;More debug error log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Serial port used: /dev/ttyACM2
Baud rate used: 1000000
Info: Successfully opened /dev/ttyACM2. Baud rate: 1000000. Flow control: none. Parity: none.

Log: State change: STATE_START -&amp;gt; STATE_RESET

Log:        1 -&amp;gt;  [N/A] type:          RESERVED_5 reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
Status: 6, message: Target Reset performed
Log: State change: STATE_RESET -&amp;gt; STATE_UNINITIALIZED

Log:        2 -&amp;gt;  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
Log:     1/ 0 &amp;lt;-  [02 7d ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC_RESP]
Log: State change: STATE_UNINITIALIZED -&amp;gt; STATE_INITIALIZED

Log:        3 -&amp;gt;  [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log:        4 -&amp;gt;  [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log:        5 -&amp;gt;  [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log:        6 -&amp;gt;  [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log:     2/ 0 &amp;lt;-  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
Log:        7 -&amp;gt;  [02 7d ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC_RESP]
Log:        8 -&amp;gt;  [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log:     3/ 0 &amp;lt;-  [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log:        9 -&amp;gt;  [04 7b 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG_RESP [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log:       10 -&amp;gt;  [03 fc 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log:     4/ 0 &amp;lt;-  [04 7b 11 ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:3 data_integrity:0 err_code:0x0 [CONFIG_RESP [ sliding-window-size:1 out-of-frame:0 data-integrity-check-type:1 version-number:0 ]]
Log: State change: STATE_INITIALIZED -&amp;gt; STATE_ACTIVE

Status: 7, message: Connection active
Log:       11 -&amp;gt;  [00 69 40 00 00 00 01 00 01 00 01 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:0 ack#:0 payload_length:c data_integrity:1 header_checksum:72 err_code:0x0
Log:     5/ 0 &amp;lt;-  [N/A] type:                 ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
Log:     6/ 0 &amp;lt;-  [01 69 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:0 ack#:1 payload_length:6 data_integrity:1 header_checksum:ca err_code:0x0
Log:       12 -&amp;gt;  [N/A] type:                 ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
Log:       13 -&amp;gt;  [00 69 23 00 00 00 01 01 96 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:1 ack#:1 payload_length:a data_integrity:1 header_checksum:89 err_code:0x0
Log:     7/ 0 &amp;lt;-  [N/A] type:                 ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
Log:     8/ 0 &amp;lt;-  [01 69 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:1 ack#:2 payload_length:6 data_integrity:1 header_checksum:c1 err_code:0x0
Log:       14 -&amp;gt;  [N/A] type:                 ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
Log:       15 -&amp;gt;  [00 60 ] type:     VENDOR_SPECIFIC reliable:yes seq#:2 ack#:2 payload_length:2 data_integrity:1 header_checksum:0 err_code:0x0
Log:     9/ 0 &amp;lt;-  [N/A] type:                 ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
Log:    10/ 0 &amp;lt;-  [01 60 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:2 ack#:3 payload_length:6 data_integrity:1 header_checksum:b8 err_code:0x0
Log:       16 -&amp;gt;  [N/A] type:                 ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
Log:       17 -&amp;gt;  [00 8a 01 00 01 01 00 00 00 00 00 a0 00 50 00 00 00 01 01 00 00 00 64 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:7d data_integrity:1 header_checksum:40 err_code:0x0
Log:       18 -&amp;gt;  [00 8a 01 00 01 01 00 00 00 00 00 a0 00 50 00 00 00 01 01 00 00 00 64 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:7d data_integrity:1 header_checksum:40 err_code:0x0
Log:       19 -&amp;gt;  [00 8a 01 00 01 01 00 00 00 00 00 a0 00 50 00 00 00 01 01 00 00 00 64 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:7d data_integrity:1 header_checksum:40 err_code:0x0
Log:       20 -&amp;gt;  [00 8a 01 00 01 01 00 00 00 00 00 a0 00 50 00 00 00 01 01 00 00 00 64 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:7d data_integrity:1 header_checksum:40 err_code:0x0
Log:       21 -&amp;gt;  [00 8a 01 00 01 01 00 00 00 00 00 a0 00 50 00 00 00 01 01 00 00 00 64 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:7d data_integrity:1 header_checksum:40 err_code:0x0
Log:       22 -&amp;gt;  [00 8a 01 00 01 01 00 00 00 00 00 a0 00 50 00 00 00 01 01 00 00 00 64 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:7d data_integrity:1 header_checksum:40 err_code:0x0
Status: 4, message: Error sending packet to target. Code: 0x802a
Scan start failed with error code: 32773
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174519?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 11:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7615d25b-9f5c-411b-a6f6-ade8089ac152</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you describe what you mean by connectivity_4.0.0_1m_with_s132_6.1.0.hex not working? Are you sure you are using the PCA10040 board? The nRF52832 DK?&lt;/p&gt;
&lt;p&gt;Are you sure you are using the ...4.0.0_1m_&lt;strong&gt;with&lt;/strong&gt;_s132... and not the ...4.0.0_1m_&lt;strong&gt;for&lt;/strong&gt;_s132... ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174473?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 09:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:746bd9b0-82e9-4a08-8a89-5ee0b5b61761</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tested Sigurd&amp;#39;s suggesttion. It (27) works. I guess there&amp;#39;s ongoing work to fix this issue right?&lt;/p&gt;
&lt;p&gt;And I think the rest of my problem is how to get connectivity_4.0.0_1m_with_s132_6.1.0.hex working for PCA10040.&lt;/p&gt;
&lt;p&gt;BR/Chencheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174363?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 17:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64651552-f2d7-48ac-9487-7cedcee46989</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Chengcheng,&lt;/p&gt;
&lt;p&gt;I just saw the ticket that you linked to. Did you set:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;	ble_gap_data_length_params_t const dlp =
	{
		.max_rx_octets = 27,
		.max_tx_octets = 27,
		.max_rx_time_us = BLE_GAP_DATA_LENGTH_AUTO,
		.max_tx_time_us = BLE_GAP_DATA_LENGTH_AUTO,
	};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Like Sigurd suggested? Or did you set it according to the length update request?&lt;/p&gt;
&lt;p&gt;As Sigurd just posted (after you saw his post), the max length for the connectivity firmware is 27, so that is why you need to use this. This should also be why sd_ble_gap_data_length_update fails with NRF_ERROR_RESOURCES.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you try setting it to 27?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174346?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 15:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55c3d131-9db0-4432-9435-6db935047003</guid><dc:creator>Chencheng</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/44372/pc-ble-driver-example-heart_rate_collector-get-disconnected-with-error-0x22/174324"]I believe that this is still related to the unhandled event with ID 35, which would be a&amp;nbsp;BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST. I have replicated this on both the connectivity_4.0.0_usb_for_s140_6.1.0.hex and the&amp;nbsp;connectivity_4.0.0_1m_with_s132_6.1.0.hex serialization backends, so it doesn&amp;#39;t seem to be related to usb + s140, but rather the application.&amp;nbsp;[/quote]
&lt;p&gt;Just a quick update.&lt;/p&gt;
&lt;p&gt;I implemented according to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44172/disconnection-between-ble_app_hrs-example-in-sdk-15-2-0-and-heart_rate_collector-example-with-pc-ble-driver-c-c/173330#173330"&gt;this&lt;/a&gt;. But I get an error:&lt;/p&gt;
&lt;p&gt;BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST received: sd_ble_gap_data_length_update failed, err_code 19 NRF_ERROR_RESOURCES&lt;/p&gt;
&lt;p&gt;BR/Chencheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174328?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 15:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53feb6a6-2185-4caf-982a-90d32bf5338d</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;[quote userid="26071" url="~/f/nordic-q-a/44372/pc-ble-driver-example-heart_rate_collector-get-disconnected-with-error-0x22/174324"][/quote]&lt;/p&gt;
&lt;blockquote class="quote"&gt;
&lt;div class="quote-content"&gt;Beside this problem, I also found that hex/sd_api_v6/connectivity_&amp;lt;ver&amp;gt;_1m_with_s132_6.1.0.hex does not work anymore on PCA10040. Does not know when this has started.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;Do you refer to the same issue with this .hex file?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;No, I don&amp;#39;t think it is the same problem:&lt;/p&gt;
&lt;p&gt;Serial port used: /dev/ttyACM2&lt;br /&gt;Baud rate used: 1000000&lt;br /&gt;Info: Successfully opened /dev/ttyACM2. Baud rate: 1000000. Flow control: none. Parity: none.&lt;br /&gt;Status: 6, message: Target Reset performed&lt;br /&gt;Error: h5_decode error, code: 0x802b, H5 error count: 1. raw packet: c0 00 ff c0 &lt;br /&gt;Status: 7, message: Connection active&lt;br /&gt;Status: 4, message: Error sending packet to target. Code: 0x802a&lt;br /&gt;Scan start failed with error code: 0x8005&lt;/p&gt;
&lt;p&gt;BR/Chencheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/174324?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 14:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:523d8485-4ecf-46a6-9894-3834c0972705</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Regarding your main issue with the nRF52840 dongle:&lt;/p&gt;
&lt;p&gt;I believe that this is still related to the unhandled event with ID 35, which would be a&amp;nbsp;BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST. I have replicated this on both the connectivity_4.0.0_usb_for_s140_6.1.0.hex and the&amp;nbsp;connectivity_4.0.0_1m_with_s132_6.1.0.hex serialization backends, so it doesn&amp;#39;t seem to be related to usb + s140, but rather the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have forwarded this to our pc-ble-driver team. I will keep you updated with their response. Thank you for reporting this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Beside this problem, I also found that hex/sd_api_v6/connectivity_&amp;lt;ver&amp;gt;_1m_with_s132_6.1.0.hex does not work anymore on PCA10040. Does not know when this has started.[/quote]
&lt;p&gt;Do you refer to the same issue with this .hex file?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver example heart_rate_collector get disconnected with error 0x22</title><link>https://devzone.nordicsemi.com/thread/173993?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2019 13:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:817ad092-2179-402e-868f-bca7de779bdf</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Error log:&lt;/p&gt;
&lt;p&gt;$ ./heart_rate_collector_v6 /dev/ttyACM1 &lt;br /&gt;Serial port used: /dev/ttyACM1&lt;br /&gt;Baud rate used: 1000000&lt;br /&gt;Info: Successfully opened /dev/ttyACM1. Baud rate: 1000000. Flow control: none. Parity: none.&lt;br /&gt;Status: 6, message: Target Reset performed&lt;br /&gt;Status: 7, message: Connection active&lt;br /&gt;Scan started&lt;br /&gt;Received advertisement report with device address: 0x1F3DA468EEAD&lt;br /&gt;Scan started&lt;br /&gt;Received advertisement report with device address: 0xA48E0AE00002&lt;br /&gt;Scan started&lt;br /&gt;Received advertisement report with device address: 0x0A464AD29336&lt;br /&gt;Scan started&lt;br /&gt;Received advertisement report with device address: 0x58C4ABA13778&lt;br /&gt;Scan started&lt;br /&gt;Received advertisement report with device address: 0x1F3DA468EEAD&lt;br /&gt;Scan started&lt;br /&gt;Received advertisement report with device address: 0xF69A3331F222&lt;br /&gt;Connection established&lt;br /&gt;Discovering primary services&lt;br /&gt;Received an un-handled event with ID: 35&lt;br /&gt;Received service discovery response&lt;br /&gt;Discovered heart rate service. UUID: 0x180D, start handle: 0x000E, end handle: 0x0013&lt;br /&gt;Discovering characteristics&lt;br /&gt;Received characteristic discovery response, characteristics count: 2&lt;br /&gt;Characteristic handle: 0x000F, UUID: 0x2A37&lt;br /&gt;Characteristic handle: 0x0012, UUID: 0x2A38&lt;br /&gt;Discovering characteristic&amp;#39;s descriptors&lt;br /&gt;Received descriptor discovery response, descriptor count: 5&lt;br /&gt;Descriptor handle: 0x000F, UUID: 0x2803&lt;br /&gt;Descriptor handle: 0x0010, UUID: 0x2A37&lt;br /&gt;Descriptor handle: 0x0011, UUID: 0x2902&lt;br /&gt;Press enter to toggle notifications on the HRM characteristic&lt;br /&gt;Descriptor handle: 0x0012, UUID: 0x2803&lt;br /&gt;Descriptor handle: 0x0013, UUID: 0x2A38&lt;br /&gt;&lt;br /&gt;Setting HRM CCCD&lt;br /&gt;Received write response.&lt;br /&gt;Received heart rate measurement: 140&lt;br /&gt;Received heart rate measurement: 150&lt;br /&gt;Received heart rate measurement: 160&lt;br /&gt;Received heart rate measurement: 170&lt;br /&gt;Received heart rate measurement: 180&lt;br /&gt;Received heart rate measurement: 190&lt;br /&gt;Connection interval updated: 0x208, 0x208. &lt;em&gt;(This trace is added by me to get rid of the un-handled event complaint)&lt;/em&gt;&lt;br /&gt;Disconnected, reason: 0x22&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>