<?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>nrf52 BLE/beacon with accelerometer data advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76400/nrf52-ble-beacon-with-accelerometer-data-advertising</link><description>Hello, 
 DK: nrf52840 
 SDK: 15.0.0 
 
 i want to advertise accelerometer data with BLE/Beacon 
 so i tried to update the adv. packet for every 10 sec but its not advertising updated one its showing old data 
 
 for example i have updated like this for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jun 2021 09:18:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76400/nrf52-ble-beacon-with-accelerometer-data-advertising" /><item><title>RE: nrf52 BLE/beacon with accelerometer data advertising</title><link>https://devzone.nordicsemi.com/thread/315795?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 09:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a75c0bde-32c8-49f0-aab8-10779e574cf2</guid><dc:creator>N A Karmarkar</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;br /&gt;&lt;br /&gt;As per my second question i have updated accelerometer data and gyro data..it is possible...!!&lt;br /&gt;Thank you for the support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 BLE/beacon with accelerometer data advertising</title><link>https://devzone.nordicsemi.com/thread/315704?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 16:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad5dc826-9983-42e8-a5b9-891e2fd594fb</guid><dc:creator>N A Karmarkar</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;Thank you so much for your response....&lt;br /&gt;i compiled and run the program which u have given, so here major values are updating..!!&lt;/p&gt;
&lt;p&gt;Now in my application i need to upload accelerometer and gyro meter data in UUID array...and need to update for every 1 sec.&lt;br /&gt;So is it possible to update UUID with same procedure which u have done with major value upgradation..??&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;(instead of increment, Updating the sensor values to UUID &lt;span&gt;array&lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nagendra A Karmarkar.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 BLE/beacon with accelerometer data advertising</title><link>https://devzone.nordicsemi.com/thread/315661?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 14:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f414b7a-3b0b-442f-a4d8-5b6de87dcad5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The code you posted will likely crash because you are calling the init functions in a loop (they are supposed to be run only once on startup). Please try my my modified ble_app_beacon example below and see if that works for you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Beacon demo sample with on-the-fly update of advertising payload (requires SDK v17.0.2).:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5516.nRF5_5F00_SDK17.0.2_5F00_ble_5F00_app_5F00_beacon_5F00_update.zip"&gt;devzone.nordicsemi.com/.../5516.nRF5_5F00_SDK17.0.2_5F00_ble_5F00_app_5F00_beacon_5F00_update.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>