<?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>Invalid advertising data message when scanning with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52917/invalid-advertising-data-message-when-scanning-with-nrf52840-dongle</link><description>I have a scanning application that uses pc-ble-driver-py to communicate to the nRF52480 Dongle on Windows 10. I&amp;#39;m using connectivity_4.1.1_usb_with_s132_5.1.0.hex in the dongle. Usually everything works, but if I go into an area with a lot of bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Oct 2019 13:23:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52917/invalid-advertising-data-message-when-scanning-with-nrf52840-dongle" /><item><title>RE: Invalid advertising data message when scanning with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/213936?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 13:23:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0a6ba70-ce8e-4fc0-91d7-27bb34bc1c06</guid><dc:creator>jeg223</dc:creator><description>&lt;p&gt;Hello Ken,&lt;/p&gt;
&lt;p&gt;ad_list =&amp;nbsp;[2, 1, 6, 25, 255, 49, 1, 151, 48, 207, 67, 234, 54, 0, 79, 80, 69, 78, 138, 11, 93, 155, 141, 132, 0, 0, 0, 0, 1, 0, 0]&lt;/p&gt;
&lt;p&gt;Parsing it shows the 0s at the end don&amp;#39;t make any sense.&amp;nbsp; So I&amp;#39;ll have to track down the device sending this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid advertising data message when scanning with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/213868?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 11:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:100ed7ff-e827-42c3-838b-2934ffd46296</guid><dc:creator>kere</dc:creator><description>&lt;p&gt;Hi jeg223,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have the raw advertising packet data so I can try to reproduce the issue?&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;-Ken.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid advertising data message when scanning with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/213754?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 21:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97f481eb-d497-48e6-a8b4-fce57926f2ea</guid><dc:creator>jeg223</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;Thank you for the response.&amp;nbsp; I printed out the advertising data that caused this message.&amp;nbsp; The data causes the BLEAdvData.from_c method to go into an infinite loop.&amp;nbsp; I can post the full data if you want, but essentially the ad_list ends with 0, 0.&lt;/p&gt;
&lt;p&gt;It gets interpreted as ad_len = 0, ad_type = 0.&amp;nbsp; index is never updated, so the method never exits.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jim&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid advertising data message when scanning with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/213665?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 13:02:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc2b2bb0-af63-48e4-8006-b71531675a7e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SoftDevice will filter out any packets with CRC errors, so the invalid packets actually have a valid CRC but are invalid (or rather not one of the specified types (see definition of&amp;nbsp;class Types(Enum) in ble_driver.py). You can probably verify this by printing the type value, and seeing that it is not one of the listed types. What is the value typically in these cases (when it is not one of the listed)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>