<?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>Not able to READ data - BLE_CENTRAL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98166/not-able-to-read-data---ble_central</link><description>Hi, I am working on nRF52833. I am using the discovery manager to connect with the peripheral. I am successfully able to dm_start the service, also sucessfully able to subscribe notification to the particular characterstic but the same service have the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Apr 2023 06:32:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98166/not-able-to-read-data---ble_central" /><item><title>RE: Not able to READ data - BLE_CENTRAL</title><link>https://devzone.nordicsemi.com/thread/418937?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2023 06:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a012f41-c328-4480-ad85-0d79609bbed2</guid><dc:creator>kovidS</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;The error has been resolved thankyou!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to READ data - BLE_CENTRAL</title><link>https://devzone.nordicsemi.com/thread/418768?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2023 08:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77e58f10-1fef-4c2e-b882-51454d47a021</guid><dc:creator>kovidS</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;when using&amp;nbsp;bt_bas_start_per_read_battery_level() this function i was getting&amp;nbsp;Illegal use of the EPSR&lt;br /&gt;&lt;br /&gt; error.&lt;br /&gt;but when i was normal bt_gatt_read function i was able to read battery%. Can you please suggest me the some work queue example when the application is central, for implying the bt_gatt_read() funciton periodically.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to READ data - BLE_CENTRAL</title><link>https://devzone.nordicsemi.com/thread/418344?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 13:44:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ded5a5e1-145d-462a-b43f-2dfe8d5a3818</guid><dc:creator>Sigurd</dc:creator><description>[quote user="kovidS"]&lt;br /&gt;I also wanted to know that how to periodically call read function to get data?[/quote]
&lt;p&gt;You could e.g. use a&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/3.2.0/kernel/services/threads/workqueue.html"&gt;Workqueue Thread&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We use it e.g. here to do notifactions,&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/peripheral_hr_coded/src/main.c#L160"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/peripheral_hr_coded/src/main.c#L160&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to READ data - BLE_CENTRAL</title><link>https://devzone.nordicsemi.com/thread/418205?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 06:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f4471f8-8d59-4408-9a35-a4698275536a</guid><dc:creator>kovidS</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;The issue is resolved with normal bt_gatt_read() function only. Actually i wasnot incrementing the value_handle so it was not calling the callback function and not reading and giving out the error.&lt;br /&gt;&lt;br /&gt;I also wanted to know that how to periodically call read function to get data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to READ data - BLE_CENTRAL</title><link>https://devzone.nordicsemi.com/thread/418090?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2023 11:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c726150-7e10-4f1d-827c-c6d9d073aa29</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;That is strange. Is this with the unmodified central_bas sample? And you use button 1 to trigger the&amp;nbsp;&lt;span&gt;bt_bas_read_battery_level() call ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to READ data - BLE_CENTRAL</title><link>https://devzone.nordicsemi.com/thread/417918?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 13:59:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84aad953-a46c-4040-ab6a-0e3934ded02a</guid><dc:creator>kovidS</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;I have tried using the function&amp;nbsp;&lt;span&gt;bt_bas_read_battery_level() but I am keep getting the -16(&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;EBUSY(mount device busy)) in return.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to READ data - BLE_CENTRAL</title><link>https://devzone.nordicsemi.com/thread/417674?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2023 12:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e27e3b2-5998-48d0-8493-7629acba0d54</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have a sample that shows you how to do this here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/bluetooth/central_bas"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/samples/bluetooth/central_bas&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Use the function&amp;nbsp;&lt;span&gt;bt_bas_read_battery_level() to read the battery level&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>