<?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>MPU data in  dynamic advertising packet</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22951/mpu-data-in-dynamic-advertising-packet</link><description>Hi friends...! 
 I want to put dynamically changing MPU data into the advertising packet. I am putting my accelerometer data into manufacturer specific data field of ble_advdata_t structure.
 but the problem is that the data is not changing with every</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Jun 2017 13:47:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22951/mpu-data-in-dynamic-advertising-packet" /><item><title>RE: MPU data in  dynamic advertising packet</title><link>https://devzone.nordicsemi.com/thread/90293?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 13:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aaa0e7b-4262-4db8-af98-3dd3b58af874</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Thanks...! Jorgen I just write advertising_init() into main loop it is done.....!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MPU data in  dynamic advertising packet</title><link>https://devzone.nordicsemi.com/thread/90292?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 09:39:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db9a066f-4781-49c3-890f-c3a60f3bf416</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to update the advertising data by calling &lt;code&gt;advertising_init()&lt;/code&gt; or &lt;code&gt;ble_advdata_set()&lt;/code&gt; with the new advertising data, each time you get a new value from the MPU.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>