<?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>I cannot change the Bluetooth device name that is broadcast by the Nordic sample program &amp;quot;Bluetooth: Peripheral HIDS keyboard&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119051/i-cannot-change-the-bluetooth-device-name-that-is-broadcast-by-the-nordic-sample-program-bluetooth-peripheral-hids-keyboard</link><description>Hi, 
 
 I have been evaluating some Nordic Semiconductor products for the past week. They look great. 
 
 I am using the nRF5340 Dev Kit, along with Visual Studio Code on Mac OS. All tools were downloaded 1 week ago from Nordic Semi, so they are up to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Feb 2025 10:46:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119051/i-cannot-change-the-bluetooth-device-name-that-is-broadcast-by-the-nordic-sample-program-bluetooth-peripheral-hids-keyboard" /><item><title>RE: I cannot change the Bluetooth device name that is broadcast by the Nordic sample program "Bluetooth: Peripheral HIDS keyboard"</title><link>https://devzone.nordicsemi.com/thread/524058?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 10:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2d7fb2f-fb39-4732-9a34-69009b148317</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That sounds plausible, I&amp;#39;m not sure as these are third party applications.&lt;/p&gt;
&lt;p&gt;I think the only way to be sure what name that is actually advertised is by a sniffer trace, you can use &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer for Bluetooth LE&lt;/a&gt; for that,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannot change the Bluetooth device name that is broadcast by the Nordic sample program "Bluetooth: Peripheral HIDS keyboard"</title><link>https://devzone.nordicsemi.com/thread/523593?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 18:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:200c031e-2222-498a-8e9f-015d2609fd7e</guid><dc:creator>TexasLance</dc:creator><description>&lt;p&gt;Hey, thanks!&lt;/p&gt;
&lt;p&gt;The nRF Connect app does indeed show the new / changed BT Device Name.&lt;/p&gt;
&lt;p&gt;But my other&amp;nbsp;&amp;quot;BLE Terminal&amp;quot; app (another BLE sniffer app I&amp;#39;ve had for a few months) shows the old name OR&amp;nbsp;the new name on different scans... mostly the new name but not always. That is really odd to me. Mac and iPhone still show the old name even this morning EXCEPT I now got my iPhone to show the new device name at least once.&lt;/p&gt;
&lt;p&gt;This makes me wonder if there is a value transmitted about &amp;quot;Cache for x amount of time&amp;quot;. I remember this kind of thing from my days as a web developer LONG ago when web page caching was a new thing. So maybe if I waited a day or two of only transmitting the new name, then the new name would appear on any device, any app.&lt;/p&gt;
&lt;p&gt;It still remains strange to me that this issue never came up with the BT Beacon and BT Peripheral HIDS Mouse apps... my iPhone and Mac saw those device names change as soon as I re-built and re-flashed. Hmmm. I notice that those 2 apps have 2 conf files each, where the BT Peripheral HIDS Keyboard app only has 1 conf file. And if there is some other cache-time parameter sent out, maybe that is set to a much shorter time for these other sample apps?&lt;/p&gt;
&lt;p&gt;Anyway, I appreciate the nRF Connect app and the nRF Sniffer app sounds good, too. Now I will be on the lookout for any caching of&amp;nbsp;BT broadcast data.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannot change the Bluetooth device name that is broadcast by the Nordic sample program "Bluetooth: Peripheral HIDS keyboard"</title><link>https://devzone.nordicsemi.com/thread/523475?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 11:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c50aba42-b9c7-40ea-927d-a6593a7aa5c0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Lance,&amp;nbsp;&lt;br /&gt;Could you try to use nRF Connect app on the phone to check what&amp;#39;s advertised ?&amp;nbsp;&lt;br /&gt;My suspicion is that the central device (computer or phone) just cached the name of the device and show you not updated name.&amp;nbsp;&lt;br /&gt;I would suggest to get familiar with the nRF Sniffer as well. Using this tool you can have deeper debug information on BLE. Please take a look here:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/topic/sniffing-bluetooth-le-packets/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/topic/sniffing-bluetooth-le-packets/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I attached here the hex file for nRF53, I modified&amp;nbsp;&lt;span&gt;CONFIG_BT_DEVICE_NAME&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;My_keyboard&amp;quot; in prj.conf in&amp;nbsp;peripheral_hids_keyboard and it seems to work for me. Please double check that you build and flash the project when you select build, not the level lower as it may not update the hex file when you build.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1739878897659v2.png" alt=" " /&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;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/merged_5F00_CPUAPP.hex"&gt;devzone.nordicsemi.com/.../merged_5F00_CPUAPP.hex&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0842.merged_5F00_CPUNET.hex"&gt;devzone.nordicsemi.com/.../0842.merged_5F00_CPUNET.hex&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1739879007067v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>