<?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 from iOS not workin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76345/change-device-name-from-ios-not-workin</link><description>Hi there, 
 I have the following settings: 
 - nrf52810 on a custom board 
 - only the mandatory GAP service and one custom service with three characteristics, everything is working perfectly so far. 
 - we are developing our own iOS app for controlling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jun 2021 21:51:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76345/change-device-name-from-ios-not-workin" /><item><title>RE: Change Device name from iOS not workin</title><link>https://devzone.nordicsemi.com/thread/315717?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 21:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a94b0a00-0a08-4a03-a504-102bea313ffc</guid><dc:creator>David H</dc:creator><description>&lt;p&gt;Indeed, they are.&lt;/p&gt;
&lt;p&gt;Thanks for your reply - I am going to create my own mechanism to change the device name.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Greetings,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Device name from iOS not workin</title><link>https://devzone.nordicsemi.com/thread/315534?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 08:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9b16b94-55d1-4b2e-9e89-71edc008d319</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;hmm, as far as I know it has newer been possible to change the device name for a Bluetooth LE device from iOS. Your soundbar and headset are likely BR/EDR devices?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Device name from iOS not workin</title><link>https://devzone.nordicsemi.com/thread/315455?ContentTypeID=1</link><pubDate>Tue, 15 Jun 2021 15:02:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:594d2b6c-285f-49aa-8de4-01e192a7af5c</guid><dc:creator>David H</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;run_ar,&lt;/p&gt;
&lt;p&gt;Thank you for your quick response!&lt;/p&gt;
&lt;p&gt;I know that iOS is filtering out the above mentioned services, so I don&amp;#39;t have access to them from my app. That&amp;#39;s the reason you can&amp;#39;t use nrf Connect to change the name since it simply has no access to the GAP characteristics.&lt;/p&gt;
&lt;p&gt;Instead I would like to use the integrated mechanism in iOS:&lt;/p&gt;
&lt;p&gt;When you go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Bluetooth&amp;quot; then there is the list of known devices. If the device was bonded to the phone then there is a little &amp;quot;i&amp;quot;-Button attached to the entry. Tapping this little icon will lead you to the device settings. And in the case of my soundbar or my headset I can actually change the name of the device.&lt;/p&gt;
&lt;p&gt;The big question is: if GAP is implemented correctly and the Device Name Characteristic is writeable, will iOS offer me to change the name or not. Or is this only possible with other Bluetooth Protocols.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If that&amp;#39;s not possbile I am going to implement it in the app via my own settings characteristic. But in the first place I would like to use the &amp;quot;standard way&amp;quot; or &amp;quot;native way&amp;quot; of changing the device name in iOS.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and have a good Day!&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Device name from iOS not workin</title><link>https://devzone.nordicsemi.com/thread/315419?ContentTypeID=1</link><pubDate>Tue, 15 Jun 2021 13:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96603d1d-1004-4262-afe1-68bd07e63910</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I did a quick check using the blinky peripheral application from our SDK. Using nRF connect on windows I was able to update the device name. However using nRF connect on iOS I was not able to update the device name. As far as I know it is not possible to write to the device name from iOS, but it&amp;#39;s been quite some time since I last checked. Still thinking it is the case, based on this from the accessory design guidelines:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;em&gt;When third party iOS applications discover services on the accessory, the following services are usedinternally by iOS and are filtered out from the list of discovered services:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;●Generic Attribute Profile Service&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;●Generic Access Profile Service&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;●Bluetooth Low Energy HID Service&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;●Apple Notification Center Service&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Also the code from the blinky example is similar to yours&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void gap_params_init(void)
{
    ret_code_t              err_code;
    ble_gap_conn_params_t   gap_conn_params;
    ble_gap_conn_sec_mode_t sec_mode;

    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;sec_mode);

    err_code = sd_ble_gap_device_name_set(&amp;amp;sec_mode,
                                          (const uint8_t *)DEVICE_NAME,
                                          strlen(DEVICE_NAME));
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>