<?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 accelerometer data from BLE beacon</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57483/how-to-read-accelerometer-data-from-ble-beacon</link><description>Hello, 
 I have one custom board which have Nordic&amp;#39;s nrf52840 chip. I&amp;#39;m using this chip to scan the surrounding beacons. 
 For beacon scanning i have integrated Bluez stack on my custom board (From yocto build) and using following APIs/structures of Bluez</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Mar 2020 12:40:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57483/how-to-read-accelerometer-data-from-ble-beacon" /><item><title>RE: How to read accelerometer data from BLE beacon</title><link>https://devzone.nordicsemi.com/thread/237434?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 12:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f56e6da6-cdf3-4ca7-9069-a5516611aa01</guid><dc:creator>mayank_patel</dc:creator><description>&lt;p&gt;For someone who is exploring bluez and using nordic devices&lt;/p&gt;
&lt;p&gt;I found the answer and it&amp;#39;s &amp;quot;&lt;span&gt;le_advertising_info&amp;quot; API of buez gives the raw data packets in bytes which is broadcasted by BLE beacons.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can find data[] variable which contains raw data in hex values.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Parsing this raw data is a different thing altogether, but still i can get the raw bytes for which i have to write a data parser.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Mayank&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read accelerometer data from BLE beacon</title><link>https://devzone.nordicsemi.com/thread/233021?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 10:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:896232a5-4b99-4046-8eb6-120ab006426a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;That is an entirely separate question!&lt;/p&gt;
&lt;p&gt;That would involve using one of the SDK &amp;quot;&lt;strong&gt;Central&lt;/strong&gt;&amp;quot; examples ...&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/examples_ble_central.html"&gt;infocenter.nordicsemi.com/.../examples_ble_central.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that there is also the Nordic &lt;strong&gt;nRF Connect&lt;/strong&gt; app for use in testing &amp;amp; development:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read accelerometer data from BLE beacon</title><link>https://devzone.nordicsemi.com/thread/233010?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 10:26:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:648cb854-769e-446d-970b-a2369d87bbe4</guid><dc:creator>mayank_patel</dc:creator><description>&lt;p&gt;Hi awneil,&lt;/p&gt;
&lt;p&gt;I also wanted to ask that is there any application in nrf_SDK which i can use to get accelerometer data of beacon?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read accelerometer data from BLE beacon</title><link>https://devzone.nordicsemi.com/thread/233005?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 10:15:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c810290-8b67-4710-8098-7ee49d586029</guid><dc:creator>awneil</dc:creator><description>[quote userid="84089" url="~/f/nordic-q-a/57483/how-to-read-accelerometer-data-from-ble-beacon"]Is there any APIs/structures available in Bluez[/quote]
&lt;p&gt;That&amp;#39;s really a question for &lt;strong&gt;Bluez&lt;/strong&gt; - nothing to do with Nordic!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bluez.org/contact/"&gt;http://www.bluez.org/contact/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.ubuntu.com/core/en/stacks/bluetooth/bluez/docs/"&gt;https://docs.ubuntu.com/core/en/stacks/bluetooth/bluez/docs/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>