<?xml-stylesheet type="text/xsl" href="https://test-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/"><channel><title>Bluetooth low energy - All Comments</title><link>/guides/short-range-guides/b/bluetooth-low-energy</link><description>BLE-centric material, some basic and some more specific. </description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><item><title>RE: Merging two BLE examples together</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/merging-two-ble-examples-together</link><pubDate>Thu, 09 Jun 2022 10:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45c7f080-8e46-4bf1-89b3-2f713223fd53</guid><dc:creator>user115692</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;I use those settings to test the UART RX and TX maximum data size with nRF Connect. In TX is fine. But in RX is only 182 bytes. I merge ble_app_hrs and ble_app_uart. Does ble_app_hrs has limitation?&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1218&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Wed, 01 Jun 2022 09:52:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user113482</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;is there any update for this tutorial, lots of links are missing for now.&amp;nbsp;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy Advertising, a beginner&amp;#39;s tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-advertising-a-beginners-tutorial</link><pubDate>Tue, 10 May 2022 05:32:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6912b39f-a72a-47d5-97b9-240b2a62d8e4</guid><dc:creator>user115239</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi&lt;br /&gt;I want to advertising with NRF52840 DK, I do tutorial explanation and for PCA10056\S140 after load main.c it compile without any error and warning but I cant find any device with &amp;quot;Helloworld&amp;quot; name on bluetooth mobile phone . &lt;br /&gt;for pca10040\s132 I have error: #5: cannot open source input file &amp;quot;nrf52_erratas.h&amp;quot;: No such file or directory&lt;br /&gt;any help with this issue would be a massive help&lt;br /&gt;Thanks in advace.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1165&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to update advertising data dynamically using BLE Advertising library</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library</link><pubDate>Wed, 06 Apr 2022 15:39:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b31c1811-79ab-408a-89e3-080face2493e</guid><dc:creator>user114984</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Answered my own question now. I believe it will cope with the situation I was looking at. I needed to reset the adv_data.len to it&amp;#39;s maximum before calling adv_data_encode&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1352&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to update advertising data dynamically using BLE Advertising library</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library</link><pubDate>Mon, 04 Apr 2022 10:14:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b31c1811-79ab-408a-89e3-080face2493e</guid><dc:creator>user114984</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Karl, great tutorial. I have a question about changing the manufaturer specific data length. In my application I want to increase the length of the manufacturer specific data field by 2 bytes after a certain point in time. My advertising data consistes of Flags, a dynamically changing manufacturer specific data field and a name field. The maximum length of all this is less than 31 bytes. I&amp;#39;ve found that when increasing the length of the manufacturer specific data and using ble_advdata_encode, the manufaturer data is handled correctly but the total length of the advertising data doesn&amp;#39;t increase, leading to a truncated name field. I am passing a length of 31 bytes with my&amp;nbsp;ble_gap_adv_data_t signal (unless that is being changed by another process I don&amp;#39;t see)&amp;nbsp; Would the Update_advertising_data handle this case&lt;br /&gt;Thanks&lt;br /&gt;Mike&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1352&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy Advertising, a beginner&amp;#39;s tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-advertising-a-beginners-tutorial</link><pubDate>Tue, 01 Mar 2022 14:25:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6912b39f-a72a-47d5-97b9-240b2a62d8e4</guid><dc:creator>user97666</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This is very informative. Thank you so much for this. I am able to set custom data to advertising but is it possible to set this data in custom type or any frame type that I wish to advertise? For more information about my question &lt;a href="/f/nordic-q-a/85295/softdevice---write-custom-ble-advertise-with-custom-type"&gt;click here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Neeraj Dhekale&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1165&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to update advertising data dynamically using BLE Advertising library</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library</link><pubDate>Wed, 23 Feb 2022 07:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b31c1811-79ab-408a-89e3-080face2493e</guid><dc:creator>user113739</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;hello everyone,&lt;/p&gt;
&lt;p&gt;i want to use this example for 15.3 SDK but its not working so anybody have any suggestion please let me know.&lt;/p&gt;
&lt;p&gt;thanking you.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1352&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to update advertising data dynamically using BLE Advertising library</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library</link><pubDate>Wed, 16 Feb 2022 11:10:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b31c1811-79ab-408a-89e3-080face2493e</guid><dc:creator>user113598</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Finally I have managed to build the solution with correct paths to all logging functions. But same as the defualt template app it ends in the &amp;quot;NRF_BREAKPOINT_COND&amp;quot; right after starting up. Please would you be so kind and try to help a little. The immediate failure of the code is same also for the template ble app.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1352&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to update advertising data dynamically using BLE Advertising library</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library</link><pubDate>Wed, 16 Feb 2022 09:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b31c1811-79ab-408a-89e3-080face2493e</guid><dc:creator>user113598</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Dear friends, I downloaded fresh SDK 17.0.2 and copy your linked example to the examples. I am using SES, I am not able to compile the project. Other examples worked just fine. Your linked example have problems with paths to logging things and even I tried to fix it it started to have problem to found files like sdk_common.h and I am not able to fix. Would be possible to fix the linked example so it will work just OK like your other examples among downloaded SDK. Or any other advice will be much helpful for me.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1352&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to update advertising data dynamically using BLE Advertising library</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library</link><pubDate>Thu, 10 Feb 2022 18:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b31c1811-79ab-408a-89e3-080face2493e</guid><dc:creator>user111673</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This is a good example of a project that I am currently working on.&amp;nbsp; I could use some clarifications in the function &amp;quot;adv_data_update_timer_handler.&amp;quot;&amp;nbsp; 1. You define PAYLOAD_SIZE as 1 but there are 6 uint8_t types of data in the actual list.&amp;nbsp; Is this a typo?&amp;nbsp; 2. There is a static variable defined payload_index in the function and initialized to zero. Later in the function you test that variable against a defined TOP_INDEX which equals 5.&amp;nbsp; Can you explain how the payload_index will ever increment to the TOP_INDEX level because of being set to zero upon entry into the function?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1352&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy Services, a beginner&amp;#39;s tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial</link><pubDate>Thu, 16 Dec 2021 12:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c99f6949-ce5f-40fa-8f6e-e0589be22a12</guid><dc:creator>user111909</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Guys,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can someone explain, from where the variable BLE_UUID_OUR_SERVICE came? where it is defined or what is the value on this program?&lt;/p&gt;
&lt;pre&gt;line:   service_uuid.uuid = BLE_UUID_OUR_SERVICE;&lt;br /&gt;&lt;br /&gt;Thanks for your answer!&lt;br /&gt;&lt;br /&gt;With Regards,&lt;br /&gt;Sreejith&lt;/pre&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1168&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy Services, a beginner&amp;#39;s tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial</link><pubDate>Thu, 11 Nov 2021 06:40:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c99f6949-ce5f-40fa-8f6e-e0589be22a12</guid><dc:creator>user102920</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Its really helpfull/&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1168&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to update advertising data dynamically using BLE Advertising library</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library</link><pubDate>Wed, 03 Nov 2021 20:16:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b31c1811-79ab-408a-89e3-080face2493e</guid><dc:creator>user16216</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;after having stumbled over the implementation for updating advertising information in SDK 15.3 I was glad to find this explanation and demonstration for the new SDK 16.0 implementation of ble_advertising_advdata_update. That&amp;#39;s exactly what I need.&lt;/p&gt;
&lt;p&gt;Before adding this to our project I downloaded your example code to test it on a nRF52840 PDK and nRF-Connect on my Android smartphone. (Android 10, also tested with another phone with Android 8). &lt;br /&gt; I placed the sample code into the examples folder of a Android 17.0.2 SDK, and I&amp;#39;m using SES (Segger Studio) v 5.64&lt;/p&gt;
&lt;p&gt;My first impression was that it did not work at all, because I was looking for the original advertising name &amp;quot;&lt;strong&gt;Nordic_Template&lt;/strong&gt;&amp;quot;, but did not find it in nrfConnect.&amp;nbsp; But after making some minor changes for seeing NRF_LOG messages with RTTview and a bit of debugging I found out the reason. The advertised Device name is correct at startup, i.e. after a Reset ( to be sure, I do not only test this after programming with SES, but explicitly issuing a Reset with SES. &lt;br /&gt; Whenever the Reset is issued, nRFConnecgt will show the correct Device name &lt;strong&gt;Nordic_Template&lt;/strong&gt;. As soon as the timer expires and the first &lt;strong&gt;ble_advertising_advdata_update&lt;/strong&gt; is invoked, the name in nRFConnect is &amp;quot;lost&amp;quot; and replaced by the typical &amp;quot;N/A (Nordic)&amp;quot; display. &lt;br /&gt; Note that the dynamic update of the ManufacturerSpecific Data works correctly as expected, i.e. for each timer event nRFConnect will show the updated information. This is good, but not at the cost of the wrong / missing device name during advertising.&lt;/p&gt;
&lt;p&gt;Before I start debugging this in detail myself, I would like to know whether it is expected behavior for this example to loose the device name ??&lt;br /&gt; In my application I definitely need correct advertising for all the information, including the device name.&lt;/p&gt;
&lt;p&gt;I add two screen shots of nRFConnect, the first one shows the &amp;quot;correct&amp;quot; information after a Reset of the nRF52840, the second one shows the &amp;quot;wrong&amp;quot; information after the first timer update with ble_advertising_advdata_update is excecuted.&amp;nbsp; This remains wrong for all subsequent timer events. &lt;br /&gt; Note that I changed the name from Nordic_Template to DX-1234.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-b31c1811-79ab-408a-89e3-080face2493e/6644.2021_2D00_11_2D00_02_5F00_22h02_5F00_28.png" /&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1352&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MIDI over Bluetooth LE</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/midi-over-bluetooth-le</link><pubDate>Fri, 01 Oct 2021 14:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbd9c47c-ae18-44cd-8b71-b9aac8281aa2</guid><dc:creator>user108847</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello H&amp;aring;vard, and thanks for this MIDI example!&lt;br /&gt;I&amp;#39;ve got a question regarding the SysEx package being sent; when I&amp;#39;ve connected the nRF52840 DK to my nRF Connect app on the iPhone and I press button 4 (SysEx package) I receive more bytes than I expect from a SysEx package.&amp;nbsp;&lt;br /&gt;Here is an example of what I receive =&amp;nbsp; (0x89-A7-F0-01-02-03-04-05-06-07-08-09-A7-F7).&lt;br /&gt;Shouldn&amp;#39;t I only be receiving (&lt;span&gt;F0-01-02-03-04-05-06-07-08-09-F7) in order for it to be a protocol-correct SysEx package, with F0 and F7 being start and stop commands?&lt;br /&gt;Kind regards,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1255&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: How to update advertising data dynamically using BLE Advertising library</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library</link><pubDate>Tue, 14 Sep 2021 10:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b31c1811-79ab-408a-89e3-080face2493e</guid><dc:creator>user8498</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Karl&lt;br /&gt;&lt;br /&gt;Having looked through the many posts where everything was going wrong with advertising update, your demo worked perfectly first time.&amp;nbsp; I had been using the stop/update/start method for an update to live data within the advertising and scan response packets, but this method lets me use the new advertising module sequencing and have live updates without compromising the timing!&lt;br /&gt;&lt;br /&gt;Excellent example&lt;br /&gt;Many thanks&lt;br /&gt;&lt;br /&gt;Ken&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1352&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>