<?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 change the name of the smart beacon kit?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3962/how-to-change-the-name-of-the-smart-beacon-kit</link><description>I&amp;#39;m testing my nRF51822 Bluetooth Smart Beacon Kit (pca20006). I&amp;#39;ve successfully uploaded ble_app_beacon_bcs code example to my beacon via Master Control Panel Android app, however, I&amp;#39;ve noticed a problem with changing the beacon name.
I pressed the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Feb 2015 08:22:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3962/how-to-change-the-name-of-the-smart-beacon-kit" /><item><title>RE: How to change the name of the smart beacon kit?</title><link>https://devzone.nordicsemi.com/thread/14261?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2015 08:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bc5a023-9f00-4c18-ae57-d6cb772fd7f0</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;I would like to test a few things of the ble_app_beacon_bcs-keep_devicename project. When I try to build the project an error appears: Source\templates\arm\arm_startup_nrf51.s&amp;quot; could not be opened: No such file or directory.&lt;/p&gt;
&lt;p&gt;I will have to move the project to SDK 6.1 or 6.0 because there is a folder with templates and the source file arm_startup_nrf51.s&lt;/p&gt;
&lt;p&gt;Or how did you do that it is possible to build the project in the SDK 7.1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change the name of the smart beacon kit?</title><link>https://devzone.nordicsemi.com/thread/14260?ContentTypeID=1</link><pubDate>Fri, 24 Oct 2014 10:29:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07c8c9ed-a5e1-43b5-a681-9747cc6086f5</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;I added sample code to show the functionality. See above edited answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change the name of the smart beacon kit?</title><link>https://devzone.nordicsemi.com/thread/14259?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 23:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce2899bd-facd-4549-a46a-90a9c93119fa</guid><dc:creator>Adam</dc:creator><description>&lt;p&gt;Thanks for your reply. Could you provide more information how to do this?
I&amp;#39;ve noticed that in the ble_app_beacon_bcs example &amp;quot;on write()&amp;quot; method is called when I tap the write button in Master Control Panel app. Write name event is handle by ble_conn_params_on_ble_evt(p_ble_evt) as BLE_GATTS_EVT_WRITE case, however, I don&amp;#39;t know what method is called when I tap the &amp;quot;read&amp;quot; button in Master Control Panel.
I guess I have to write and red device name from flash memory using pstorage.
Is it better in this case to use a new method for device name events handling (e.g. ble_dn_on_ble_evt for device name writing) instead of the default ble_conn_params_on_ble_evt that seems to recognize only the type of the event?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change the name of the smart beacon kit?</title><link>https://devzone.nordicsemi.com/thread/14258?ContentTypeID=1</link><pubDate>Wed, 08 Oct 2014 10:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea2ef59c-bdd4-4efa-82ac-d83d76f063fa</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;The default code is setup to re-use the same defined name every time config mode is enabled. So you would have to change this to store the new device name and re-use that next time you enter config mode instead of using the defined device name.&lt;/p&gt;
&lt;p&gt;Please see the gap_params_init() function in main.c and make sure you store the new name and reuse the new name for every time you start config mode.&lt;/p&gt;
&lt;p&gt;EDIT:
I implemented the changes needed to be able to change the Device Name and also keep it during the reset that occurs when exiting Beacon config mode. I cheated slightly and re-used the same flash operations used for the beacon service even though the device name isn&amp;#39;t a part of the beacon service. It gets the point across however. I think I marked all the modifications I did with #warning.&lt;/p&gt;
&lt;p&gt;I added the code for supporting Softdevice S110 v.7.x.x, but it&amp;#39;s commented out by default. If you want to use this you have to modify the memory settings as well.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_beacon_5F00_bcs_2D00_keep_5F00_devicename.zip"&gt;ble_app_beacon_bcs-keep_devicename.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>