<?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>Set Complete Local Name</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5996/set-complete-local-name</link><description>Hello,
When using the nRF Master Control Panel I see other Beacons with &amp;quot;Complete Local Name&amp;quot;... I am building an iBeacon but have not found a way to set the name and have it show as Complete Local Name in Master Control Panel... 
 How do I set this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Mar 2015 18:32:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5996/set-complete-local-name" /><item><title>RE: Set Complete Local Name</title><link>https://devzone.nordicsemi.com/thread/20923?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2015 18:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:323fd38d-cf13-4fda-8e49-488d1982c813</guid><dc:creator>ta2</dc:creator><description>&lt;p&gt;Greg -&lt;/p&gt;
&lt;p&gt;You are correct that the data that Apple requires in the iBeacon &amp;quot;packet&amp;quot; eats up all but one byte of the main advertising packet.&lt;/p&gt;
&lt;p&gt;So, you need to&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Create a scan response (SCAN_RSP) structure that contains the Complete Local Name element;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set your iBeacon data as the main advertising packet and the scan response data as the &amp;quot;secondary&amp;quot; in your call to sd_ble_gap_adv_data_set();&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Make sure that you set you advertising type to something that is scannable in the structure that you pass to sd_ble_gap_adv_start(). If your iBeacon is not offering any services, then BLE_GAP_ADV_TYPE_ADV_SCAN_IND would be a good choice.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Note that the iBeacon spec calls out BLE_GAP_ADV_TYPE_ADV_NONCONN_IND but a number of people seem to be ignoring that rule. If you strictly follow the iBeacon spec and use BLE_GAP_ADV_TYPE_ADV_NONCONN_IND then the peer device will not issue a Scan Request (SCAN_REQ).&lt;/p&gt;
&lt;p&gt;Master Control Panel doesn&amp;#39;t care about whether or not your device is an iBeacon so when it sees a &amp;quot;scannable&amp;quot; advertising packet type it issues the SCAN_REQ.&lt;/p&gt;
&lt;p&gt;On the other hand, I recently ran across an iBeacon scanning tool that was enforcing the advertising type and refused to identify a device that was not using BLE_GAP_ADV_TYPE_ADV_NONCONN_IND as an iBeacon.&lt;/p&gt;
&lt;p&gt;--- tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set Complete Local Name</title><link>https://devzone.nordicsemi.com/thread/20922?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 21:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9716bdcc-942e-4834-a84e-6b7aec9b50f1</guid><dc:creator>Greg Winn</dc:creator><description>&lt;p&gt;No one? I thought this was a simple question! Any help in the right direction would be awesome...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>