<?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>Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60843/advertising-name-change-on-the-fly</link><description>Hi everyone! 
 Yes, I&amp;#39;ve already read bunch of similar threads here, however they don&amp;#39;t explain my problem. 
 I use following code to initialize advertising data. The code runs every time when connection and data transfer needed. 
 
 I check device name</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jan 2024 10:37:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60843/advertising-name-change-on-the-fly" /><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/466718?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 10:37:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19ddbc09-6f78-4e7d-860b-1edd646a723c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Jeremy,&lt;br /&gt;&lt;br /&gt;Please follow the approach detailed in &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/how-to-update-advertising-data-dynamically-using-ble-advertising-library"&gt;this blogpost on how to dynamically update your advertising payload in the nRF5 SDK&lt;/a&gt;, and let me know if you encounter any issues or questions! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/466640?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 00:16:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad97afcc-e9ed-407b-b8a0-46e1772e8976</guid><dc:creator>jhubbard13579</dc:creator><description>&lt;p&gt;I am seeing this exact problem.&amp;nbsp; Is there an update on a solution to this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/250139?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 10:13:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2d94048-9337-48ba-8cb2-e195da2e37e8</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hi again Dmitry,&lt;br /&gt;&lt;br /&gt;I did some more testing, and uncovered that the advertising changes to shortened name version after a few iterations - which is why the name gets &amp;quot;stuck&amp;quot; at a shorter length.&lt;br /&gt;I will look into the reason for why this happens, thank you for pointing this out to me.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/249766?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 14:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7546206-be47-47e1-8d76-bc451d7729bd</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again Dmitry,&lt;br /&gt;&lt;br /&gt;With the details you provided I was finally able to recreate the behavior on my end.&lt;br /&gt;I see now that changing from a longer name to a shorter one, and then back to the longer one only yields the same length as the shortest one used - this is not the intended behavior.&lt;br /&gt;I will be discussing this with a colleague tomorrow.&lt;br /&gt;I&amp;#39;ll update you on what he says tomorrow.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/249494?ContentTypeID=1</link><pubDate>Tue, 12 May 2020 13:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d3b6139-aa7f-4405-8a0b-3df17c23dbfd</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Dmitry,&lt;/p&gt;
[quote user="dmitry_t"]Well, my bad. It seems it was somehow related to read back protection is set on my device. Now it&amp;#39;s ok and I was able to use nRFConnect.[/quote]
&lt;p&gt;I am glad you were able to resolve your issue with nRF Connect! I am however not sure that I fully understood what you meant by the readback part begin the cause of this.&lt;br /&gt;&lt;br /&gt;Thank you for the very detailed description. I have allocated time to replicate this, using all the information you have provided, tomorrow. I can not see any reason why it should behave like this, especially considering the workaround you found. &lt;br /&gt;&lt;br /&gt;I am looking forward to resolving this issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/249083?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 06:16:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc47aa1e-f1a6-4cf3-bf9d-865df0415e75</guid><dc:creator>dmitry_t</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/60843/advertising-name-change-on-the-fly/249009"]That does sound strange.[/quote]
&lt;p&gt;Well, my bad. It seems it was somehow related to read back protection is set on my device. Now it&amp;#39;s ok and I was able to use nRFConnect.&lt;/p&gt;
&lt;p&gt;I removed my workaround in order to check by using nRFConnect how my device advertises itself when I change the adv name. Briefly, it behaves exactly the same I described earlier. Here are a few screenshot.&lt;/p&gt;
&lt;p&gt;First I set the name CHWC12345, everything is ok&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/800x600/__key/communityserver-discussions-components-files/4/2020_2D00_05_2D00_11_5F00_08_2D00_54_2D00_04.png" /&gt;&lt;/p&gt;
&lt;p&gt;Then, I set the name as CHWC987, so far so good&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/800x600/__key/communityserver-discussions-components-files/4/2020_2D00_05_2D00_11_5F00_08_2D00_56_2D00_40.png" /&gt;&lt;/p&gt;
&lt;p&gt;Finally, I set the name as CHWC12345 again, however now I see just CHWC123&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/800x600/__key/communityserver-discussions-components-files/4/2020_2D00_05_2D00_11_5F00_08_2D00_58_2D00_39.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Dmitry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/249009?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 14:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b2535d6-c72b-43d1-ac9d-9b1ea103febb</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Dmitry,&lt;/p&gt;
[quote user="dmitry_t"]Installation was successfully completed. The problem&amp;nbsp;is&amp;nbsp;when I tried to select my board from the list I have error: &amp;quot;&lt;span&gt;Unsupported device with serial number &amp;#39;000685087661&amp;#39; and traits ["serialport"]&amp;quot;. Most likely I forgot to do something, but I followed the video guide on your internet site.&lt;/span&gt;[/quote]
&lt;p&gt;That does sound strange.&lt;br /&gt;Could you open another ticket detailing the nRF Connect install issue? If you were following a tutorial or video when it happened, it would be great if you could pinpoint where it goes wrong.&lt;/p&gt;
[quote user="dmitry_t"]No hurry. My workaround works pretty well now.[/quote]
&lt;p&gt;&amp;nbsp;I am happy that you workaround solved the issue. I will look into this on monday, and try to replicate the exact behavior that you describe.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/248343?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 07:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c86994c4-f29c-47fd-9173-5103bab369e3</guid><dc:creator>dmitry_t</dc:creator><description>&lt;p&gt;Hello Karl,&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/60843/advertising-name-change-on-the-fly/248286"] I read online that you will need to turn off and on again the Bluetooth functionality in windows to be certain that it is not using cached device names.[/quote]
&lt;p&gt;I think it&amp;#39;s ok with the list, because other nrf board, I use as data receiver, scans the same name and cannot find it, due to transmitter cuts the name.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/60843/advertising-name-change-on-the-fly/248286"]is there a problem with the installation that I might be able to help you resolve?[/quote]
&lt;p&gt;Installation was successfully completed. The problem&amp;nbsp;is&amp;nbsp;when I tried to select my board from the list I have error: &amp;quot;&lt;span&gt;Unsupported device with serial number &amp;#39;000685087661&amp;#39; and traits ["serialport"]&amp;quot;. Most likely I forgot to do something, but I followed the video guide on your internet site.&lt;/span&gt;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/60843/advertising-name-change-on-the-fly/248286"]I will attempt to replicate this behavior tomorrow, with the procedure you have specified. I will get back to you with my results.[/quote]
&lt;p&gt;&lt;span&gt;No hurry. My workaround works pretty well now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Dmitry&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/248286?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 16:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cd3b544-93e2-47bf-9b51-5cffa1a8c79d</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Dmitry,&lt;/p&gt;
[quote user="dmitry_t"]Correct. As soon as I fix length of adv name the board started working as expected -- other board is able to match advertising name, and I see exactly same name in Windows list. Sorry, I didn&amp;#39;t have enough time to figure out how to use nRF Connect, I faced with some difficulties.[/quote]
&lt;p&gt;I understand. I would still highly recommend making use of the nRF Connect - is there a problem with the installation that I might be able to help you resolve?&lt;br /&gt;I am not familiar with using the windows bluetooth list, but I read online that you will need to turn off and on again the Bluetooth functionality in windows to be certain that it is not using cached device names.&lt;/p&gt;
[quote user="dmitry_t"]No it&amp;#39;s not in preset list. In current version of the code I generate it as follows: fixed prefix which is constant string of 4 characters &amp;quot;ABCD&amp;quot; + ID of the device (uint32_t) which is converted to hex string with leading zeros the length is 12 chars, so overall I have the 16 chars in the string, however I had to add one extra character, otherwise I see only 15 chars in the broadcast adv name. To make the long story short this is the&amp;nbsp;principle I use to compose the name string[/quote]
&lt;p&gt;Thank you for the clarification.&lt;/p&gt;
[quote user="dmitry_t"]Sorry, I&amp;#39;m under NDA, but I&amp;nbsp;believe it may be reproduced by following way:[/quote]
&lt;p&gt;I understand. I will attempt to replicate this behavior tomorrow, with the procedure you have specified. I will get back to you with my results.&lt;br /&gt;&lt;br /&gt;Let me know if you at any time would like me to make this ticket private.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/248047?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 06:16:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2ea605a-f226-4f06-9092-ee6043bade5d</guid><dc:creator>dmitry_t</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/60843/advertising-name-change-on-the-fly/247908"]but you said this workaround ensures that the full name is showing up?[/quote]
&lt;p&gt;Correct. As soon as I fix length of adv name the board started working as expected -- other board is able to match advertising name, and I see exactly same name in Windows list. Sorry, I didn&amp;#39;t have enough time to figure out how to use nRF Connect, I faced with some difficulties.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/60843/advertising-name-change-on-the-fly/247908"]Could you tell me how you do the name updates? Are you using the ble_gap_device_name_set() function, or are you stopping advertising, changing adv parameters and starting advertising again?[/quote]
&lt;p&gt;I do it as I showed in function adv_start() in my original post. Stop advertising first, use ble_gap_device_name_set() to change parameters, set adv parameters using advertising_data_set() function and start adv again. This sequence I took from &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44513/changing-device-name-dynamically"&gt;this&lt;/a&gt;&amp;nbsp;thread.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/60843/advertising-name-change-on-the-fly/247908"]Could you also tell me how you are generating your new names? Is it following a preset list, or are you splicing a string with randoms numbers, or similar?[/quote]
&lt;p&gt;No it&amp;#39;s not in preset list. In current version of the code I generate it as follows: fixed prefix which is constant string of 4 characters &amp;quot;ABCD&amp;quot; + ID of the device (uint32_t) which is converted to hex string with leading zeros the length is 12 chars, so overall I have the 16 chars in the string, however I had to add one extra character, otherwise I see only 15 chars in the broadcast adv name. To make the long story short this is the&amp;nbsp;principle I use to compose the name string&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define DEVNAMEPREFIX &amp;quot;ABCD&amp;quot;
char my_name[17] = {0};
snprintf(my_name, 17, &amp;quot;%s%012lx&amp;quot;, DEVNAMEPREFIX, id); //id is hardcoded uint32_t
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The length of the composed string for further use in sd_ble_gap_device_name_set can be obtained by two ways (I actually tried both, they both work) -- 1. use&amp;nbsp;&amp;nbsp;strlen(my_name), 2. use the value snprintf returns.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/60843/advertising-name-change-on-the-fly/247908"]Are you able to share your entire project code, so I attempt to replicate this on my end?[/quote]
&lt;p&gt;Sorry, I&amp;#39;m under NDA, but I&amp;nbsp;believe it may be reproduced by following way:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Start advertising with some generated name&lt;/li&gt;
&lt;li&gt;Replace the name &lt;em&gt;on the fly&lt;/em&gt; by shorter name&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Replace the name &lt;em&gt;on the fly&lt;/em&gt; by longer name --&amp;gt; at this step my second board cannot make a connection because adv name does not match to expected one, due to the first board cuts advertising name.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Dmitry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/247908?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 13:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d473f842-2c16-43bf-a4df-6e1e8c549bd0</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Sorry for my late reply - there was a national holiday here in Norway, but we are back now.&lt;br /&gt;&lt;br /&gt;I looked over you code and I could not immediately see something wrong with it.&lt;br /&gt;As far as I know, snprint() will normally append a null terminator at the end of its output, which we do not want in this case - but you said this workaround ensures that the full name is showing up?&lt;br /&gt;&lt;br /&gt;Could you tell me how you do the name updates? Are you using the ble_gap_device_name_set() function, or are you stopping advertising, changing adv parameters and starting advertising again?&lt;br /&gt;Could you also tell me how you are generating your new names? Is it following a preset list, or are you splicing a string with randoms numbers, or similar?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;[quote user="dmitry_t"][/quote]&lt;/p&gt;
&lt;p&gt;&lt;span&gt;which gives me fixed length of adv string.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But I still don&amp;#39;t understand why it behaves as it is.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;No, changing of the device name should be completely fine as long as you do not exceed the 31 byte limit for advertising packets.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
[quote user="dmitry_t"]Did I get it right that I need one extra board to monitor BLE traffic? At the moment I have only two nrf52833 pca10100 boards. I also checked sniffer tool binaries and did not find suitable for my board.[/quote]
&lt;p&gt;Yes, you will need an additional device to act as the sniffer, and it needs to be one of the supported boards.&lt;br /&gt;If you are using the nRF Connect desktop application now, then it is still a large improvement, and it will make things much easier than using the native Windows applications.&lt;br /&gt;Please make sure to clear the found devices page when looking for the updated names, to ensure you are not seeing a cached version of the device.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="dmitry_t"]Two nrf boards are connected. windows pc is used just for checking the advertising name.[/quote]
&lt;p&gt;Thank you for clarifying.&lt;/p&gt;
&lt;p&gt;Are you able to share your entire project code, so I attempt to replicate this on my end?&lt;br /&gt;If you would like, I could convert this ticket to a private one - so that it is only viewable to you and the support staff here at Nordic Semiconductor - if the code is sensitive.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/247534?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 12:01:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:096b8dfa-40bc-48d9-b671-4b0008e07f03</guid><dc:creator>dmitry_t</dc:creator><description>&lt;p&gt;Alright, I did more tests and can be more specific now.&lt;/p&gt;
&lt;p&gt;It seems like the length of the the advertising name must be not less than it was previous time.&lt;/p&gt;
&lt;p&gt;For example, if I have &amp;quot;device_12345&amp;quot; as adv name I see &amp;quot;device_12345&amp;quot; in windows10 bluetooth device list. Now if I change it as &amp;quot;device_98765&amp;quot; I also see same string in the list. Next, If I change it to &amp;quot;device_456&amp;quot; I see same name again, but now if I change it as &amp;quot;device_67890&amp;quot; I&amp;#39;ll see only &amp;quot;device_678&amp;quot;. All changes were done on the fly. Is this expected behavior?&lt;/p&gt;
&lt;p&gt;So, the issue not related to any connection with other board.&lt;/p&gt;
&lt;p&gt;The workaround I implemented is:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;snprintf(m_my_advertising_name, MAX_DEV_NAME_LEN, &amp;quot;%s%&lt;strong&gt;05&lt;/strong&gt;lu&amp;quot;, DEVNAMEPREFIX, id);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;which gives me fixed length of adv string.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But I still don&amp;#39;t understand why it behaves as it is.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/247470?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 08:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c591992-7be0-434f-b16a-3b8b5ffb7237</guid><dc:creator>dmitry_t</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp;&lt;span&gt;Have you got the nRF Connect for Desktop application, or a&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;Sniffer tool&lt;/a&gt;&lt;span&gt;&amp;nbsp;installed?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;No I have not. I just checked the sniffer tool and nRF Connect desktop application. Did I get it right that I need one extra board to monitor BLE traffic? At the moment I have only two nrf52833 pca10100 boards. I also checked sniffer tool binaries and did not find suitable for my board.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp;&lt;span&gt;Which device is connected - the two nRF boards, or an nRF board and the windows pc?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Two nrf boards are connected. windows pc is used just for checking the advertising name.&lt;/p&gt;
&lt;p&gt;Two boards can connect base on advertising name match (event NRF_BLE_SCAN_EVT_FILTER_MATCH happens), after that some data is transferred followed by disconnect procedure.&lt;/p&gt;
&lt;p&gt;My code mostly based on&amp;nbsp;examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising name change on the fly</title><link>https://devzone.nordicsemi.com/thread/247460?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 07:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1969665e-bc0d-43d9-8be7-b54782853360</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]I check device name in Bluetootth devices list in Windows10 to make sure the name is correct.[/quote]
&lt;p&gt;Have you got the nRF Connect for Desktop application, or a &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;Sniffer tool&lt;/a&gt; installed?&lt;br /&gt;If you have, you can check more accurately what the board is actually advertising - I would highly recommend using one of the above, instead of the windows Bluetooth device list. Could you try one of the two, and let me know if the board still fails to update its advertising information?&lt;/p&gt;
[quote user=""]Say, after disconnection I set name &amp;quot;device_98765&amp;quot;, but in the Bluetooth device list in Windows10 I see only &amp;quot;device_9&amp;quot;. I have no idea&amp;nbsp;why.[/quote]
&lt;p&gt;This might be the result of Windows caching the device information from its previous connection.&lt;/p&gt;
[quote user=""]But once another nrf board connected, transferred data and disconnected, it&amp;#39;s no longer possible to set new advertising device name.[/quote]
&lt;p&gt;If you are able to confirm with the nRF Connect or nRF Sniffer tool that the advertised name does not change, could you elaborate some more on the events leading up to this? I am not sure I understood the connection sequence you describe. Which device is connected - the two nRF boards, or an nRF board and the windows pc? -, and what data is being transferred?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>