<?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>Parsing of Advertising Data in Android and IOS.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25778/parsing-of-advertising-data-in-android-and-ios</link><description>Hi, 
 We are integrating a 3rd party device with our application and while we were parsing advertising data, we found the same data received in Android at 3rd and 4th index of the advertising packet, while in IOS it is being received at 5th and 6th position</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Oct 2017 11:21:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25778/parsing-of-advertising-data-in-android-and-ios" /><item><title>RE: Parsing of Advertising Data in Android and IOS.</title><link>https://devzone.nordicsemi.com/thread/101546?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 11:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df696532-a644-4b28-8d7e-2f3cacef1e91</guid><dc:creator>soumil</dc:creator><description>&lt;p&gt;You can convert this to an answer so that I can close this question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing of Advertising Data in Android and IOS.</title><link>https://devzone.nordicsemi.com/thread/101545?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 11:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc63eb9-64d5-40e5-98e2-b5f233cc4bc7</guid><dc:creator>soumil</dc:creator><description>&lt;p&gt;Hi,
Thanks for your reply. Sorry, I wasn&amp;#39;t clear before but I actually meant there is a shift in the manufacturing  data bytes in Android and IOS which you have already answered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing of Advertising Data in Android and IOS.</title><link>https://devzone.nordicsemi.com/thread/101544?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 11:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c52cacd-f73c-42c2-bb6b-4651854e94ba</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi, what do you mean exactly by 3rd, 4th, 5th or 6th position?&lt;/p&gt;
&lt;p&gt;On Android you get advertising data in 2 ways: as raw bytes (the only option in Android 4.3 and 4.4.4) or parsed as ScanRecord (&lt;a href="https://developer.android.com/reference/android/bluetooth/le/ScanRecord.html)"&gt;developer.android.com/.../ScanRecord.html)&lt;/a&gt;. On iOS you get only the second option where data are put into a map. So I don&amp;#39;t know what&amp;#39;s &amp;#39;data position&amp;#39;.&lt;/p&gt;
&lt;p&gt;What I may assume you are talking about it, is Manufacturer Data bytes. Since Bluetooth v4.1 the first 2 bytes are the Company ID (let&amp;#39;s say 0x0059 for Nordic, &lt;a href="https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers"&gt;more&lt;/a&gt;). On Android they are the key in SparseArray, where on iOS they are included in the data, that&amp;#39;s why you may have your actual data shifted there 2 to the right.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>