<?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>Update advertising data (battery level)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58127/update-advertising-data-battery-level</link><description>Hello, 
 I&amp;#39;m new with the nordic chips and SDK and have a short question: I&amp;#39;m trying to send the battery capacity of my BLE device within the advertising data. I found some code from former SDK (&amp;lt;15) that uses the ble_advdata_set() command. But I found</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Mar 2020 04:11:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58127/update-advertising-data-battery-level" /><item><title>RE: Update advertising data (battery level)</title><link>https://devzone.nordicsemi.com/thread/237591?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 04:11:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d28f550-db82-4407-a23a-2c8485e5c587</guid><dc:creator>Christoph</dc:creator><description>&lt;p&gt;Thank you very much, this absolutely solved my problem!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update advertising data (battery level)</title><link>https://devzone.nordicsemi.com/thread/235621?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2020 07:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba0c364-1e6f-4f83-b514-dec9b2533d9c</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;you can find my example (&lt;a href="https://raw.githubusercontent.com/jimmywong2003/nrf5-modify-device-parameter-through-host/modify_non_connectable_advertising/ble_app_change_advertising_example/main.c"&gt;https://raw.githubusercontent.com/jimmywong2003/nrf5-modify-device-parameter-through-host/modify_non_connectable_advertising/ble_app_change_advertising_example/main.c&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;The key point is to get the battery and put inside the advertising payload.&lt;br /&gt;&lt;br /&gt;&lt;img height="388" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1582269566053v1.png" width="503" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>