<?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>How to dynamically change GAP name of mesh device ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83713/how-to-dynamically-change-gap-name-of-mesh-device</link><description>Hi all, I am using the nRF52832, Mesh sdk v4.2.0 and the nRF5 sdk v16.0.0. How to dynamically change the GAP name of device when using smart phone (nRF connect APP)to scan device(GATT proxy role)? 
 I saw some methods from forum as follows but seems not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jan 2022 09:14:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83713/how-to-dynamically-change-gap-name-of-mesh-device" /><item><title>RE: How to dynamically change GAP name of mesh device ?</title><link>https://devzone.nordicsemi.com/thread/348440?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 09:14:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2c2547e-2536-4264-a386-eaf274d95191</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user="frank_ch"]Thanks for your example.[/quote]
&lt;p&gt;No problem at all, Frank - I am happy to help!&lt;/p&gt;
[quote user="frank_ch"]&lt;p&gt;It can update the broadcast data successfully as follows.&lt;/p&gt;
&lt;p&gt;But how to only update the broadcast device name and keep other data fields the same?&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;I am glad to hear that you now are able to update the broadcast data as intended.&lt;br /&gt;If you wish to keep certain fields of the advertising data the same you could just populate the those datafields of the update with the same content every time.&lt;br /&gt;Since you are using SDK v16.0.0 you could just keep the advertising data structure static, and then change only the advertised device name in between each update.&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: How to dynamically change GAP name of mesh device ?</title><link>https://devzone.nordicsemi.com/thread/348401?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 02:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dd19d84-1c67-4e4c-bec5-b195ade0cf41</guid><dc:creator>frank_c</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;Thanks for your example.&lt;/p&gt;
&lt;p&gt;It can update the broadcast data successfully as follows.&lt;/p&gt;
&lt;p&gt;But how to only update the broadcast device name and keep other data fields the same?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img height="281" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1642559583734v2.png" width="253" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="310" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1642559553256v1.png" width="251" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to dynamically change GAP name of mesh device ?</title><link>https://devzone.nordicsemi.com/thread/347958?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 09:17:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:634645af-9e2a-413c-ae3a-619ddfeb291b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Frank,&lt;br /&gt;&lt;br /&gt;Please take a look at &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 regarding dynamically updating advertising payload with different nRF5 SDK versions&lt;/a&gt;.&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></channel></rss>