<?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>When External Interrupt Advertising is Stop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33592/when-external-interrupt-advertising-is-stop</link><description>I am working about Keypad example. I have 3 Row and 5 colomb. Whatever when i debug it advertising stop. Interrupt working greak without advertising.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Apr 2018 15:01:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33592/when-external-interrupt-advertising-is-stop" /><item><title>RE: When External Interrupt Advertising is Stop</title><link>https://devzone.nordicsemi.com/thread/129388?ContentTypeID=1</link><pubDate>Mon, 23 Apr 2018 15:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0042a0a8-c20d-4d23-b8a9-4791e2c34fbd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I recommend that you use app_timer for delayed operations. Here&amp;#39;s a tutorial on how to use this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/tutorials/b/software-development-kit/posts/application-timer-tutorial"&gt;https://devzone.nordicsemi.com/tutorials/b/software-development-kit/posts/application-timer-tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When External Interrupt Advertising is Stop</title><link>https://devzone.nordicsemi.com/thread/129148?ContentTypeID=1</link><pubDate>Fri, 20 Apr 2018 12:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c850d6f-01cc-4baf-b7b2-59ff5302d1db</guid><dc:creator>rraa</dc:creator><description>&lt;p&gt;When i Keypad_Scan() file add for(;;) loop problem is solved. But i have a new problem now!&lt;/p&gt;
&lt;p&gt;I want to change when pressed button led blink 200ms than led blink off. But this code when i pressed button led blink and i release button led blink off!. how can i choose it. I shared code below my comment.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;boards.h&amp;quot;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;nrf_gpio.h&amp;quot;
#include &amp;quot;nrf.h&amp;quot;
#include &amp;quot;nrf_drv_gpiote.h&amp;quot;
#include &amp;quot;app_error.h&amp;quot;
#include &amp;quot;nrf_drv_timer.h&amp;quot;
#include &amp;quot;app_timer.h&amp;quot;
#include &amp;quot;app_button.h&amp;quot;
#include &amp;quot;nrf_drv_ppi.h&amp;quot;
#include &amp;quot;nrf_drv_timer.h&amp;quot;
#include &amp;quot;nrf_fstorage.h&amp;quot;
#include &amp;quot;nordic_common.h&amp;quot;
#include &amp;quot;ble.h&amp;quot;
#include &amp;quot;ble_err.h&amp;quot;
#include &amp;quot;ble_hci.h&amp;quot;
#include &amp;quot;ble_srv_common.h&amp;quot;
#include &amp;quot;ble_advdata.h&amp;quot;
#include &amp;quot;ble_conn_params.h&amp;quot;
#include &amp;quot;nrf_sdh.h&amp;quot;
#include &amp;quot;nrf_sdh_ble.h&amp;quot;
#include &amp;quot;ble_lbs.h&amp;quot;
#include &amp;quot;nrf_ble_gatt.h&amp;quot;
#include &amp;quot;nrf_log.h&amp;quot;
#include &amp;quot;nrf_log_ctrl.h&amp;quot;
#include &amp;quot;nrf_log_default_backends.h&amp;quot;
#include &amp;quot;Tus_Tarama_Deneme.h&amp;quot;

void Sutun_Cikislari(void)
{
  nrf_gpio_cfg_output(LED_DENEME);
  nrf_gpio_cfg_output(SUTUN_1);
  nrf_gpio_cfg_output(SUTUN_2);
  nrf_gpio_cfg_output(SUTUN_3);
  nrf_gpio_pin_set(SUTUN_1);
  nrf_gpio_pin_set(SUTUN_2);
  nrf_gpio_pin_set(SUTUN_3);
  nrf_gpio_cfg_input(SATIR_1, NRF_GPIOTE_POLARITY_LOTOHI);
  nrf_gpio_pin_read(SATIR_1);
  while(1)
  {
    if(nrf_gpio_pin_read(SATIR_1) == true)
     {
      nrf_gpio_pin_set(LED_DENEME);
     }
    else
    {
      nrf_gpio_pin_clear(LED_DENEME);
    }
  }
}


&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;main.c&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int main(void)
{
    // Initialize.
    leds_init();
    timers_init();
    log_init();
//    Tarama_Basla_Deneme();
    buttons_init();
    ble_stack_init();
    gap_params_init();
    gatt_init();
    services_init();
    advertising_init();
    conn_params_init();
//    sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE);
//    sd_ble_gap_tx_power_set(0);
    // Start execution.
    NRF_LOG_INFO(&amp;quot;Blinky example started.&amp;quot;);
    advertising_start();
    // Enter main loop.
    while(1)
    {
        Sutun_Cikislari();
        
        if (NRF_LOG_PROCESS() == false)
        {
            power_manage();
        }
    }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When External Interrupt Advertising is Stop</title><link>https://devzone.nordicsemi.com/thread/129144?ContentTypeID=1</link><pubDate>Fri, 20 Apr 2018 12:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59a30e87-d560-46fa-bc37-2fa95770f273</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you share a bit more information on where the issue occurs? Preferably with code?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>