<?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>BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104239/ble-battery-level-server-peripheral</link><description>Hi, 
 currently I am working for a ble battery level indication server. For that I followed one example called ble_app_bps. 
 And I configured for battery level simulation. My question here is how can I send a battery level counter value(for example 0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Nov 2023 10:17:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104239/ble-battery-level-server-peripheral" /><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/455082?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 10:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:482e1126-d5aa-40c2-ac0a-1976aaf2f8f4</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;Thank you very much for the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/451368?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 15:59:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:824e9d88-a3f9-4f21-8c4e-0cd50c7deddb</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Try&amp;nbsp;to change&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint8_t battery_level =0;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static uint8_t battery_level =0;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;so that the function then looks like&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void battery_level_update(void)
{
    ret_code_t err_code;
    static uint8_t  battery_level =0;

     // battery_level = (uint8_t)sensorsim_measure(&amp;amp;m_battery_sim_state, &amp;amp;m_battery_sim_cfg);
      // sensorsim_increment(&amp;amp;m_battery_sim_state, &amp;amp;m_battery_sim_cfg);
      battery_level = battery_level + 1;
      if(battery_level == 8) battery_level = 0;
      //battery_level = 11;
    err_code = ble_bas_battery_level_update(&amp;amp;m_bas, battery_level, BLE_CONN_HANDLE_ALL);
NRF_LOG_INFO(&amp;quot;ble_bas_battery_level_update() returned: %d, with battery_level: %d &amp;quot;,err_code,battery_level);
    if ((err_code != NRF_SUCCESS) &amp;amp;&amp;amp;
        (err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp;
        (err_code != NRF_ERROR_RESOURCES) &amp;amp;&amp;amp;
        (err_code != BLE_ERROR_GATTS_SYS_ATTR_MISSING)
       )
    {
        APP_ERROR_HANDLER(err_code);
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;that way, battery_level will&amp;nbsp;change each time&amp;nbsp;battery_level_update() function is called.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/451363?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 15:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:709bc051-7bd3-44db-83a0-82d619433089</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;Hi sigurd thanks for your reply.&lt;/p&gt;
&lt;p&gt;But you can see just above the hard coded value I have commented the code as&lt;/p&gt;
&lt;p&gt;battery_level = battery_level + 1;&lt;/p&gt;
&lt;p&gt;If(battery_level == 8) battery_level = 0;&lt;/p&gt;
&lt;p&gt;When I am doing this it is not updating the counter value.just displaying the same value at all time.&lt;/p&gt;
&lt;p&gt;So you can check by uncommenting the code snippet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Actually I sent you the main.c file without uncommenting the code.&lt;/p&gt;
&lt;p&gt;So please check and reply.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Satyabrata Senapati&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/451353?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 15:04:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82be8a2a-a981-4699-ad41-51c9395b723d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I had a look at the code. What&amp;#39;s happening is that the battery level&amp;nbsp;characteristic is set to 11%, and this happens before the phone connects.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When the central/phone connects, and you enable notification for the&amp;nbsp;&lt;span&gt;battery level&amp;nbsp;&lt;/span&gt;&lt;span&gt;characteristic, the ble_bas_battery_level_update() function will only send a notification to the phone if the old value, that is 11%, changes to a new value. Snippet from the ble_bas_battery_level_update() function:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;if (battery_level != p_bas-&amp;gt;battery_level_last)&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since you have hardcoded it to 11%, then no notifications are send. The phone can still read the&amp;nbsp;battery level&amp;nbsp;characteristic &amp;quot;manually&amp;quot; with a GATT read, and receive that the value is 11%.&amp;nbsp;But as long as the&amp;nbsp;battery level does not change, then no notifications are send either.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/451223?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 08:44:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04c32ecf-6aae-403a-b746-2c017dea0a2c</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;yes,&lt;/p&gt;
&lt;p&gt;I am sending the main.c file.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3302.main.c"&gt;devzone.nordicsemi.com/.../3302.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/451212?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 08:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ceb2dd-11c3-46ab-bf0c-f426afff5539</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Are you still having issues with the&amp;nbsp;&lt;span&gt;counter value?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If yes, could you post your main.c file?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/449565?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 12:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f4e3a74-3945-4dfb-a9b8-fe208d3b95b4</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;ok sir no problem.&lt;/p&gt;
&lt;p&gt;Actually I need some clarification for the above discussion.&lt;/p&gt;
&lt;p&gt;could you please help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Satyabrata Senapati&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/449332?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2023 10:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86d92868-d520-4b20-8c92-e005bb2874bb</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Satyabrata,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Sigurd is on vacation so sorry for the long waiting time here.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you had any progress or do you still require help ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448592?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 04:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6b0cca6-3183-49f5-9122-e9fc121c5473</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;Could you reply please.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448394?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 18:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f3abc53-1e98-424c-ab8d-48310ab98cd7</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;Hi sigurd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Actually this is working. But my case is if I am sending the counter value its not working. Its not showing the counted value in nrfconnect app.you can see I have commented in the code snippet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;//battery_level = battery_level + 1;&lt;br /&gt;// if(battery_level == 8) battery_level = 0;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448369?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 14:07:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db349eb8-0d2b-4fb1-96e6-72da37691119</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;It looks to be working.&lt;/p&gt;
&lt;p&gt;You&amp;nbsp;are sending battery_level = 10&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;battery_level = 10;
err_code = ble_bas_battery_level_update(&amp;amp;m_bas, battery_level, BLE_CONN_HANDLE_ALL);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and this is also shown in the app&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1695996453743v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448314?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 10:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5e91e13-8b1c-425a-a35f-9f31ff861abf</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;ok. Let me send.&lt;/p&gt;
&lt;p&gt;This is the screen shot of nrf_connect app.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot_5F00_nRF-Connect.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;And the code snippet is given below&amp;nbsp;&lt;/p&gt;
&lt;p&gt;/**@brief Function for performing battery measurement and updating the Battery Level characteristic&lt;br /&gt; * in Battery Service.&lt;br /&gt; */&lt;br /&gt;static void battery_level_update(void)&lt;br /&gt;{&lt;br /&gt; ret_code_t err_code;&lt;br /&gt; uint8_t battery_level;&lt;/p&gt;
&lt;p&gt;// battery_level = (uint8_t)sensorsim_measure(&amp;amp;m_battery_sim_state, &amp;amp;m_battery_sim_cfg);&lt;br /&gt; // sensorsim_increment(&amp;amp;m_battery_sim_state, &amp;amp;m_battery_sim_cfg);&lt;br /&gt; //battery_level = battery_level + 1;&lt;br /&gt; // if(battery_level == 8) battery_level = 0;&lt;br /&gt; battery_level = 10;&lt;br /&gt; err_code = ble_bas_battery_level_update(&amp;amp;m_bas, battery_level, BLE_CONN_HANDLE_ALL);&lt;br /&gt; if ((err_code != NRF_SUCCESS) &amp;amp;&amp;amp;&lt;br /&gt; (err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp;&lt;br /&gt; (err_code != NRF_ERROR_RESOURCES) &amp;amp;&amp;amp;&lt;br /&gt; (err_code != BLE_ERROR_GATTS_SYS_ATTR_MISSING)&lt;br /&gt; )&lt;br /&gt; {&lt;br /&gt; APP_ERROR_HANDLER(err_code);&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;/**@brief Function for handling the Battery measurement timer timeout.&lt;br /&gt; *&lt;br /&gt; * @details This function will be called each time the battery level measurement timer expires.&lt;br /&gt; *&lt;br /&gt; * @param[in] p_context Pointer used for passing some arbitrary information (context) from the&lt;br /&gt; * app_start_timer() call to the timeout handler.&lt;br /&gt; */&lt;br /&gt;static void battery_level_meas_timeout_handler(void * p_context)&lt;br /&gt;{&lt;br /&gt; UNUSED_PARAMETER(p_context);&lt;br /&gt; battery_level_update();&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;//step-2 init app timer&lt;br /&gt;static void timers_init(void)&lt;br /&gt;{&lt;br /&gt;ret_code_t err_code = app_timer_init();&lt;br /&gt;APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;// Create timers.&lt;br /&gt; err_code = app_timer_create(&amp;amp;m_battery_timer_id,&lt;br /&gt; APP_TIMER_MODE_REPEATED,&lt;br /&gt; battery_level_meas_timeout_handler);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;/**@brief Function for starting application timers.&lt;br /&gt; */&lt;br /&gt;static void application_timers_start(void)&lt;br /&gt;{&lt;br /&gt; ret_code_t err_code;&lt;/p&gt;
&lt;p&gt;// Start application timers.&lt;br /&gt; err_code = app_timer_start(m_battery_timer_id, BATTERY_LEVEL_MEAS_INTERVAL, NULL);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And in main()&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;/**@brief Function for application main entry.&lt;br /&gt; */&lt;br /&gt;int main(void)&lt;br /&gt;{&lt;br /&gt; log_init();//done&lt;br /&gt; timers_init();//done&lt;br /&gt; //leds_init();//done&lt;/p&gt;
&lt;p&gt;pwr_management_init();//done&lt;/p&gt;
&lt;p&gt;ble_stack_init();//done&lt;br /&gt; gap_params_init();//done&lt;br /&gt; gatt_init();//done&lt;br /&gt; advertising_init();//done&lt;br /&gt; services_init();//done&lt;br /&gt; //sensor_simulator_init();//done&lt;br /&gt; conn_params_init();//done&lt;/p&gt;
&lt;p&gt;NRF_LOG_INFO(&amp;quot;Battery Level Server application started.....&amp;quot;);&lt;br /&gt; application_timers_start();//done&lt;br /&gt; advertising_start();//done&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; //enter main loop &lt;br /&gt;for(;;)&lt;br /&gt;{&lt;br /&gt; idle_state_handle();&lt;br /&gt;}&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thats it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448313?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 10:25:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e41fe154-cd4b-4c05-a197-b7abbf5ffd54</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Satyabrata Senapati"]Actually when I am sending some static battery level value using &lt;span&gt;ble_bas_battery_level_update() ,&lt;/span&gt;it is displaying perfectly .But its not working for a counter value lets for testing purpose.means simply it should display the counter value[/quote]
&lt;p&gt;1) Could you post some pictures that shows how it display things when it&amp;#39;s working , and when it&amp;#39;s not working.&lt;/p&gt;
&lt;p&gt;2) And also post some code snippet that shows how you are doing this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448285?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 09:02:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad2602fd-4c21-4e1c-8262-745033be856f</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;No its not producing any error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448261?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 07:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1140633a-0734-4868-ae5e-8d60c80e8fdf</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Satyabrata Senapati"]But its not working for a counter value lets for testing purpose.means simply it should display the counter value.So how to do this ?Am I doing something wrong?[/quote]
&lt;p&gt;Does&amp;nbsp;&lt;span&gt;ble_bas_battery_level_update() return any error-codes when you do this?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448242?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 05:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e3ff478-2a55-46d5-a778-9ae2b61e23b2</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;Actually when I am sending some static battery level value using &lt;span&gt;ble_bas_battery_level_update() ,&lt;/span&gt;it is displaying perfectly .But its not working for a counter value lets for testing purpose.means simply it should display the counter value.So how to do this ?Am I doing something wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448177?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 13:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:932fcb8f-2c24-4043-9662-1f1135fe126e</guid><dc:creator>Satyabrata Senapati</dc:creator><description>&lt;p&gt;Ok.Thanks. Let me check once again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE battery level server(peripheral)</title><link>https://devzone.nordicsemi.com/thread/448157?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 12:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1183698d-4ac3-45d8-b7f7-cbaeea6477d7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;You send the value with&amp;nbsp;ble_bas_battery_level_update().&lt;/p&gt;
&lt;p&gt;Take a look at the&amp;nbsp;ble_app_proximity example to see how it done there, the ADC is used there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>