<?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>nrf52832 advertise battery strength in beacon application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21730/nrf52832-advertise-battery-strength-in-beacon-application</link><description>I am working on RTLS project using nrf52832 SOC. In beacon mode i want to advertise temperature and battery strength . but i am not sure if what method should i use to measure battery ofcourse power source during advertising in beacon mode. i found so</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2019 11:00:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21730/nrf52832-advertise-battery-strength-in-beacon-application" /><item><title>RE: nrf52832 advertise battery strength in beacon application</title><link>https://devzone.nordicsemi.com/thread/179951?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 11:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dca8b3d1-6ccf-4046-bfa3-67aeefe1c1be</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The proximity example will only sende battery data when connected and notifications are enabled for the battery service.&lt;/p&gt;
&lt;p&gt;If you add it to the advertising packet, all scanning devices should be able to receive it without connecting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 advertise battery strength in beacon application</title><link>https://devzone.nordicsemi.com/thread/179935?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 10:13:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af044531-2c4a-4ef6-b934-9af7c5cf9dbf</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here it will send the battery data when the device is connected only?...right?&lt;/p&gt;
&lt;p&gt;Are you sure that the battery level is added to the adertising packet?..If it is added to advertising packet then it should be avaialble to all the phones which can see the device , right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 advertise battery strength in beacon application</title><link>https://devzone.nordicsemi.com/thread/131241?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 14:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:394243e7-ee52-431e-9410-12813e3a2eb8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Depends entirely on the beacon type. There is no field in the advertising packet reserved for battery level. Neither is there any field for this in the advertising data. You will have to add this as a&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group___b_l_e___g_a_p___a_d___t_y_p_e___d_e_f_i_n_i_t_i_o_n_s.html#ga3c8bb673d4749edc0e5a0d5aa9aa67e1"&gt;BLE_GAP_AD_TYPE_MANUFACTURER_SPECIFIC_DATA&lt;/a&gt;. The update of the value itself is similar to the proximity example, just update the advertising data with the new battery level.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 advertise battery strength in beacon application</title><link>https://devzone.nordicsemi.com/thread/131124?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 07:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a61760e-11ea-4a16-834c-59c588db5538</guid><dc:creator>Nakul Nair</dc:creator><description>&lt;p&gt;How to exactly add battery level to advertising data? I see that&amp;nbsp;saadc_event_handler only updates the value on connection.&lt;/p&gt;
&lt;p&gt;Please suggest a solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 advertise battery strength in beacon application</title><link>https://devzone.nordicsemi.com/thread/85363?ContentTypeID=1</link><pubDate>Tue, 02 May 2017 09:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18158f55-03ca-4e0a-9825-e87d855d3c87</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/blogs/943/measuring-lithium-battery-voltage-with-nrf52/"&gt;This blog post&lt;/a&gt; show how to do battery measurement on the nRF52.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not aware of any examples showing advertising of battery level, but the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/ble_sdk_app_proximity.html?cp=4_0_0_4_1_2_14"&gt;proximity example&lt;/a&gt; shows how to measure battery voltage and how to add this to the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/group__ble__bas.html"&gt;BLE battery service&lt;/a&gt;. You can change this example to add the battery level to the advertising data instead, and update the advertising data on each SAADC callback.&lt;/p&gt;
&lt;p&gt;You can find other examples showing how to use the SAADC on nRF52 on &lt;a href="https://github.com/NordicSemiconductor/nRF52-ADC-examples"&gt;our GitHub&lt;/a&gt;.&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>