<?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>iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/518/ios-ibeacon-proximityuuid</link><description>I&amp;#39;m looking to use the nRF51822 as an iBeacon transmitter for iOS, reading the docs it appears that I need to know the proximityUUID of the sensor that I can set the OS to tell my app when the OS reads this specific sensors. So far I have been unable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Apr 2014 01:13:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/518/ios-ibeacon-proximityuuid" /><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2701?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2014 01:13:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d56f939-4a49-4b40-b9d8-784edbb28b82</guid><dc:creator>echo</dc:creator><description>&lt;p&gt;that&amp;#39;s what I want,thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2699?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2013 17:04:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58b1685e-7ace-4a4c-907f-ace108bd609b</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Hi AJ,&lt;/p&gt;
&lt;p&gt;Were you able to make your Nordic device iBeacon Firmware discovered by an iOS application? We&amp;#39;re currently planning on writing this firmware for a solutions.&lt;/p&gt;
&lt;p&gt;Thanks!
-Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2700?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2013 17:04:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6bbabdb-5746-45e4-8518-d126e4ce4314</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Hi AJ,&lt;/p&gt;
&lt;p&gt;Were you able to make your Nordic device iBeacon Firmware discovered by an iOS application? We&amp;#39;re currently planning on writing this firmware for a solutions.&lt;/p&gt;
&lt;p&gt;Thanks!
-Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2696?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2013 04:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0397ed2b-e74c-43e3-bb49-dbd5a4b9123b</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;This is useful. Can you suggest how to optimize this code when I need to broadcast 3 times every second?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2697?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2013 04:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16ab1736-077e-4d12-92fd-fe7a3a6c9366</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;This is useful. Can you suggest how to optimize this code when I need to broadcast 3 times every second?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2698?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2013 01:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3559d65f-3bc1-4223-80ae-8364d46be917</guid><dc:creator>Arjun</dc:creator><description>&lt;p&gt;I am trying to build iBeacon profile based on the above mentioned code. I have few doubts. Is it possible just initialize all the above mentioned parameters in the main loop and just run the softdevice forever. I would like to advertise indefinitely. so I am using BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED in non connectable mode.My main loop looks something like this and I am not waiting for any event. Just broadcasting id and my application does not run forever but just initializes softdevice.&lt;/p&gt;
&lt;p&gt;......&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt; above example code&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;int main(void)
{
ble_stack_init();
radio_notification_init();
gap_params_init();
advertising_init();
sec_params_init();
advertising_start();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Does the softdevice run forever after this. I would like to power optimize it. Does device goes to sleep between advertising events. I would like to advertise 3 times per second. Is this the best way to do it?  I would like to know how can disable all other functions except broadcasting to optimize for power. How can I do it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2695?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2013 14:12:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e04448d-13b9-4f88-afbd-9f15cecb363b</guid><dc:creator>Wobs</dc:creator><description>&lt;p&gt;Thanks! But have you tried it? Doesn&amp;#39;t seem to work for me. Looking at the code, you are missing a couple of bytes from the beginning of the advertising payload if I&amp;#39;m not mistaken:&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://stackoverflow.com/questions/18906988/what-is-the-ibeacon-bluetooth-profile" rel="nofollow"&gt;http://stackoverflow.com/questions/18906988/what-is-the-ibeacon-bluetooth-profile&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2694?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2013 15:52:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea45ad59-2e57-4fbc-b47b-bf7e7aee0069</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Even though Apple haven&amp;#39;t supplied much details on iBeacon, it isn&amp;#39;t hard to start one iDevice as an iBeacon, following Apple&amp;#39;s documentation, and then replicating the advertising format seen there on an nRF51.&lt;/p&gt;
&lt;p&gt;This could for example become like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
typedef __packed struct
{
    uint16_t unknown1;
    uint8_t uuid[16];
    uint16_t major;
    uint16_t minor;
    uint8_t unknown2;
} clbeacon_info_t;
...
static void advertising_init(void)
{
    uint32_t      err_code;
    uint8_t       flags = BLE_GAP_ADV_FLAG_BR_EDR_NOT_SUPPORTED;
    ble_advdata_t advdata;
    
    uint8_t uuid[16] = {0x01, 0x12, 0x23, 0x34, 0x45, 0x56, 0x67, 0x78, 0x89, 0x9a, 0xab, 0xbc, 0xcd, 0xde, 0xef, 0xf0};
    
    clbeacon_info_t beacon_info;
    beacon_info.unknown1 = 0x1502;
    memcpy(&amp;amp;beacon_info.uuid, &amp;amp;uuid, sizeof(uuid));
    beacon_info.major = 0x3412;
    beacon_info.minor = 0x7798;
    beacon_info.unknown2 = 0xC5;

    ble_advdata_manuf_data_t manuf_specific_data;
    manuf_specific_data.company_identifier = 0x004C;
    manuf_specific_data.data.p_data        = (uint8_t *) &amp;amp;beacon_info;
    manuf_specific_data.data.size          = sizeof(beacon_info);
    
    // Build and set advertising data
    memset(&amp;amp;advdata, 0, sizeof(advdata));
    
    advdata.name_type               = BLE_ADVDATA_NO_NAME;
    advdata.flags.size              = sizeof(flags);
    advdata.flags.p_data            = &amp;amp;flags;
    advdata.p_manuf_specific_data   = &amp;amp;manuf_specific_data;
    
    err_code = ble_advdata_set(&amp;amp;advdata, NULL);
    APP_ERROR_CHECK(err_code);
}


/**@brief Start advertising.
 */
static void advertising_start(void)
{
    uint32_t             err_code;
    ble_gap_adv_params_t adv_params;
    
    // Start advertising
    memset(&amp;amp;adv_params, 0, sizeof(adv_params));
    
    adv_params.type        = BLE_GAP_ADV_TYPE_ADV_NONCONN_IND;
    adv_params.p_peer_addr = NULL;
    adv_params.fp          = BLE_GAP_ADV_FP_ANY;
    adv_params.interval    = APP_ADV_INTERVAL;
    adv_params.timeout     = APP_ADV_TIMEOUT_IN_SECONDS;

    err_code = sd_ble_gap_adv_start(&amp;amp;adv_params);
    APP_ERROR_CHECK(err_code);
    nrf_gpio_pin_set(ADVERTISING_LED_PIN_NO);
}

...

&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2691?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2013 15:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:752d3216-1249-45af-b7d8-7a53e8ff77d1</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Only iOS devices can currently be iBeacons. (Yes, you read that correctly).&lt;/p&gt;
&lt;p&gt;Apple, to date, has been pretty tight lipped about plans outside of iOS devices.&lt;/p&gt;
&lt;p&gt;-m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2692?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2013 15:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dd12d0c-93b1-4f22-bada-c4504980663f</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Only iOS devices can currently be iBeacons. (Yes, you read that correctly).&lt;/p&gt;
&lt;p&gt;Apple, to date, has been pretty tight lipped about plans outside of iOS devices.&lt;/p&gt;
&lt;p&gt;-m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS iBeacon proximityUUID</title><link>https://devzone.nordicsemi.com/thread/2693?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2013 11:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e202839e-1c89-4ed9-8c89-b83cddc1e3be</guid><dc:creator>Carles</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;From what I&amp;#39;ve read this should be something read-only on the device, so my question is how can I read this? Any thoughts or suggestions?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;From what I gather looking at the APIs you linked, that is a readonly property in the CLBeacon class, so I assume it is populated by iOS when you perform a scan for beacons nearby.&lt;/p&gt;
&lt;p&gt;You will likely have to include certain parameters in your advertisement data and Attribute table to tell iOS that your device is indeed a beacon.&lt;/p&gt;
&lt;p&gt;Since this not seems to be covered by the freely available docs in developer.apple.com, I assume this is probably protected under the MFi program and you&amp;#39;ll need to contact Apple directly for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>