<?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>Change Device Name (S130) from Central.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13908/change-device-name-s130-from-central</link><description>I&amp;#39;ve read diferents answers to this question. When I change the device nace from nrf Master Contorl pannel the new name is set but the advertising is done with the old name. 
 
 
 I also try to do sd_ble_gap_device_name_set() in response to BLE_GATTS_EVT_WRITE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 May 2016 07:31:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13908/change-device-name-s130-from-central" /><item><title>RE: Change Device Name (S130) from Central.</title><link>https://devzone.nordicsemi.com/thread/53163?ContentTypeID=1</link><pubDate>Fri, 20 May 2016 07:31:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b985b16f-b8e7-41d8-b874-7ee5e0ed8848</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;This is true for iOS as it will use the cached gap name for &amp;quot;known&amp;quot; devices and not the name from the advertisement data. I don&amp;#39;t think it&amp;#39;s the same with Android (not sure).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Device Name (S130) from Central.</title><link>https://devzone.nordicsemi.com/thread/53164?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 22:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29abc889-d841-47bc-95c0-1ec44d338592</guid><dc:creator>oscarsan</dc:creator><description>&lt;p&gt;The solution is to call again
err_code = ble_advertising_init(&amp;amp;advdata, NULL, &amp;amp;options, on_adv_evt, NULL);&lt;/p&gt;
&lt;p&gt;after each name write. I use the same function than the first time advertising init called from main() and it works perfectly:&lt;/p&gt;
&lt;p&gt;advertising_init();&lt;/p&gt;
&lt;p&gt;When the device return to advertising mode the new name appears.&lt;/p&gt;
&lt;p&gt;Turn the bluetooth off and on the phone has no effect.&lt;/p&gt;
&lt;p&gt;Thank you all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Device Name (S130) from Central.</title><link>https://devzone.nordicsemi.com/thread/53161?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 18:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd471977-090d-4423-982c-bc81ce87f517</guid><dc:creator>Jeremy Hubbard</dc:creator><description>&lt;p&gt;After you update the advertising name do you re-initialize the advertising with the function  ble_advdata_set()?  In my application I change the name and doing those 2 things seems to be all that I do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Device Name (S130) from Central.</title><link>https://devzone.nordicsemi.com/thread/53162?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 17:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb33e084-c35b-4aaa-813c-591232c09f75</guid><dc:creator>mosi</dc:creator><description>&lt;p&gt;After you make changes to the GATT server I think you must disable the bluetooth on your phone (turn it off completely). then re enable it. Now it should see the correct name. That is the case with my iphone and ipad.&lt;/p&gt;
&lt;p&gt;I think I heard it on a Nordic Semiconductor Video. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Device Name (S130) from Central.</title><link>https://devzone.nordicsemi.com/thread/53160?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 06:07:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d22bb77-8d68-4d3c-9211-a845713de062</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Did you try to update the advertising data? this is done by calling &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#gaddbb12e078d536ef2e93b41d77ff6243"&gt;sd_ble_gap_adv_data_set&lt;/a&gt; or using the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/group__ble__sdk__lib__advertising.html?cp=5_0_0_6_2_0_6#ga1aa5ac2cc4100bde75f2d41d5c11c221"&gt;advertisement module&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>