<?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>Sniffing Central and Peripheral Blinky app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19853/sniffing-central-and-peripheral-blinky-app</link><description>Hi all, 
 I am using as base the Experimental ble_app_blinky_central and ble_app_blinky examples. 
 I noticed using a sniffer that the Central is asking to the peripheral for a handle outside the GATT server table. The Last handle available for the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Feb 2017 15:16:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19853/sniffing-central-and-peripheral-blinky-app" /><item><title>RE: Sniffing Central and Peripheral Blinky app</title><link>https://devzone.nordicsemi.com/thread/77220?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 15:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:816dc3f8-da63-41af-bf66-d4d842b453b8</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thanks for the quick reply&lt;/p&gt;
&lt;p&gt;Now I have a more clear understanding about the how the devices are working and it is not a real issue :)&lt;/p&gt;
&lt;p&gt;I am going to test the nordic sniffer using the segger jlink v5.10i I hope it works :)&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sniffing Central and Peripheral Blinky app</title><link>https://devzone.nordicsemi.com/thread/77221?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 09:48:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d39671b3-f483-4489-bc2b-06e2c986d87e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Arepa,&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Starting Handle parameter greater than the Ending Handle parameter&lt;/code&gt; is exactly showed in the sniffer trace, starting handle was 0x11 and the ending handle was 0x0B.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any issue with BLE compliant here. The central/peripheral are allowed to do anything as long as it&amp;#39;s following the protocol and unless it&amp;#39;s stated &amp;quot;shall not do&amp;quot; in the spec.&lt;/p&gt;
&lt;p&gt;The issue with your sniffer maybe similar to &lt;a href="https://devzone.nordicsemi.com/question/52654/wireshark-not-filtering-bt-sniffer/"&gt;this&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/48032/sniffer-wont-track-specific-device/"&gt;this&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Change the Segger firmware to v5.10i fixed the issue in the cases. I couldn&amp;#39;t find the installation file for Segger Jlink v5.10i, but I attached above a ziped folder for v5.10m you can try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sniffing Central and Peripheral Blinky app</title><link>https://devzone.nordicsemi.com/thread/77219?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 16:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:731f0fac-8fea-4ad6-860d-2ed65cb4ec85</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;It makes sense, but I was a little worried because the central ask 2 times for the same handle.&lt;/p&gt;
&lt;p&gt;I read the Core Spec section you posted and it talks about:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;*Starting Handle parameter greater than the Ending Handle parameter an Error Response shall be sent with the «Invalid Handle» error code
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is it the same that ask for a non exist handle? sorry if it is a fool question :)&lt;/p&gt;
&lt;p&gt;Could this affect the BLE compliant?&lt;/p&gt;
&lt;p&gt;I am able to use the Nordic Sniffer downgrading the Jlink firmware the issue I have is the sniffer only capture the peripheral advertising data not the connection event. I tried different times because it could be done in a different channel (not the channel I was sniffing) but I did not have luck capturing it&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sniffing Central and Peripheral Blinky app</title><link>https://devzone.nordicsemi.com/thread/77218?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 15:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a01d5da2-c79a-402e-ade3-e7eda7b95142</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Arepa,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s normal. When the server respond to Find Information Request, there is no way the server tell this is the last attribute and the client should not discovery more. It can only tell that by waiting for the client request the attribute handle that is outside of the attribute table then no handle should be returned and it can return Invalid Handle. The client detect that and will stop the Discovering process.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s described at section 3.4.3.1 Vol 3 Part F Bluetooth Core Spec v4.2&lt;/p&gt;
&lt;p&gt;Regarding the sniffer, you may want to downgrade Jlink firmware on the dongle to version 5.10d. Have a look &lt;a href="https://devzone.nordicsemi.com/question/77477/sniffer-not-working-pca10000-pca10001/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/JLink_5F00_V510m.zip"&gt;Segger Jlink v5.10m&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sniffing Central and Peripheral Blinky app</title><link>https://devzone.nordicsemi.com/thread/77217?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 19:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ef35991-6e46-496f-b0a7-a28805c9a982</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;Could you save and upload the sniffer file? Have you done any modification to the code? What SDK version is this? What nRF chip are you using? What SoftDevice are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>