<?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>Unable to Advertise in SDK 12</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18133/unable-to-advertise-in-sdk-12</link><description>Hi, 
 I have just started a new project in uVision, using the ble-app-template from the peripheral examples. its running on a custom PCB, with no 32Khz XTAL, and i have changed the softdevice handler options to 
 nrf_clock_lf_cfg_t clock_lf_cfg = {</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Dec 2016 15:25:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18133/unable-to-advertise-in-sdk-12" /><item><title>RE: Unable to Advertise in SDK 12</title><link>https://devzone.nordicsemi.com/thread/69963?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 15:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51c94ddc-570a-4cf5-9ab9-05ee25942047</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Glad that you found out :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Advertise in SDK 12</title><link>https://devzone.nordicsemi.com/thread/69962?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 15:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75cf1f52-0c04-4f5d-a45a-8536113f0ba6</guid><dc:creator>billt79</dc:creator><description>&lt;p&gt;The error was a stupid one sorry, but i had deleted a BSP function, which left the error code uninitialised, commented the app_error_check and all is good. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Advertise in SDK 12</title><link>https://devzone.nordicsemi.com/thread/69961?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 14:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f13dfd95-c577-4e8a-bacd-93cd42ee8ba3</guid><dc:creator>billt79</dc:creator><description>&lt;p&gt;Hi, this is the function, line 332 is APP_ERROR_CHECK(err_code); just below NRF_LOG_INFO(&amp;quot;Fast advertising\r\n&amp;quot;);&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    static void on_adv_evt(ble_adv_evt_t ble_adv_evt)
{
    uint32_t err_code;

    switch (ble_adv_evt)
    {
        case BLE_ADV_EVT_FAST:
            NRF_LOG_INFO(&amp;quot;Fast advertising\r\n&amp;quot;);
            APP_ERROR_CHECK(err_code);
            break;
				case BLE_ADV_EVT_SLOW:
            NRF_LOG_INFO(&amp;quot;Slow advertising\r\n&amp;quot;);
            APP_ERROR_CHECK(err_code);
            break;
        case BLE_ADV_EVT_IDLE:
            //sleep_mode_enter();
            break;

        default:
            break;
    }
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Advertise in SDK 12</title><link>https://devzone.nordicsemi.com/thread/69960?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 14:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c84dc2c-743c-4132-b1c3-3e93e39b32dc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Do you have any other modification on the example ?
What do you have at line 332 in your main ?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think there is any issue with your configuration with the clock source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Advertise in SDK 12</title><link>https://devzone.nordicsemi.com/thread/69965?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 11:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f64a14a3-c67d-4417-8621-a93f4e1f05e2</guid><dc:creator>billt79</dc:creator><description>&lt;p&gt;Hi, Thanks for the reply, i have just tried it, and unfortunately it did not work. I noticed the other day when looking through the code that the xtal_accuracy field is not used when the RC is specified. I am still confused as to what the error number itself points to&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Advertise in SDK 12</title><link>https://devzone.nordicsemi.com/thread/69964?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 19:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e56e1213-ac4b-469a-bf63-2325330febda</guid><dc:creator>AlekseyJ</dc:creator><description>&lt;p&gt;Try this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{.source        = NRF_CLOCK_LF_SRC_RC,\
 .rc_ctiv       = 16,\
 .rc_temp_ctiv  = 2,\
 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>