<?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>How to read advertisement package from ble device in android app?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1864/how-to-read-advertisement-package-from-ble-device-in-android-app</link><description>Hello, I am a android developer.
I have developed one android application scan BLE device. It&amp;#39;s working fine to scan BLE device.
Now I want read advertisement package of the scanned BLE device. I know no need to connected for read Advertisement package</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Feb 2015 16:57:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1864/how-to-read-advertisement-package-from-ble-device-in-android-app" /><item><title>RE: How to read advertisement package from ble device in android app?</title><link>https://devzone.nordicsemi.com/thread/8058?ContentTypeID=1</link><pubDate>Thu, 12 Feb 2015 16:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d3b27b1-8613-4245-93be-2a94bacdd05d</guid><dc:creator>tumaku</dc:creator><description>&lt;p&gt;More info about format of advertising packet and parsing in Android can be found here: &lt;a href="http://stackoverflow.com/questions/22016224/ble-obtain-uuid-encoded-in-advertising-packet"&gt;stackoverflow.com/.../ble-obtain-uuid-encoded-in-advertising-packet&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read advertisement package from ble device in android app?</title><link>https://devzone.nordicsemi.com/thread/8057?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2014 07:08:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e48882be-b52f-4adf-83f1-841b2c0356f0</guid><dc:creator>y</dc:creator><description>&lt;p&gt;onLeScan(final BluetoothDevice device, int rssi, final byte[] scanRecord)&lt;/p&gt;
&lt;p&gt;The scanRecord， includes many infomation,how to parsing them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read advertisement package from ble device in android app?</title><link>https://devzone.nordicsemi.com/thread/8056?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2014 13:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06414c23-bb6e-4d4a-ac32-9a36c813f4be</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hello Dugs,&lt;/p&gt;
&lt;p&gt;To get the advertising packet data, you can catch the onLeScan() call back and get the scanrecord array.
&lt;a href="http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.LeScanCallback.html"&gt;developer.android.com/.../BluetoothAdapter.LeScanCallback.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To parse the data from advertising packet, you can have look at the format defined in the Bluetooth Core Spec v4.0. (Vol 3, Part C, Chapter 11)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>