<?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>nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20478/nrf24lu1p-how-to-disable-pair-with-gazell</link><description>Hi ，I am now using nrf24lu1p and 51822 for communication, the use of Gazell for paired debugging, and now want to use the upper authorities to close the NRF24LU1P Gazell pairing function, how do I set？</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Mar 2017 13:02:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20478/nrf24lu1p-how-to-disable-pair-with-gazell" /><item><title>RE: nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/thread/79859?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 13:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7de9844-444a-4302-869c-8385fd0cc654</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you made sure gzp_id_req_reject(); was called and you still able to pair ? Note that there is encrypted pipe and non-encrypted pipe. How did you check if you actually paired  ? Note that gzp_id_req_reject() only rejects host ID, not the system address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/thread/79858?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2017 07:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4192e338-e88e-4c02-8849-17e34b30edeb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;What exactly did you try? If you reject pairing how could the nRF51 be paired ?
Please post your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/thread/79857?ContentTypeID=1</link><pubDate>Sat, 25 Mar 2017 01:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a0ff0c5-a1ae-43e2-ab40-3b87b9ea7ad5</guid><dc:creator>xiao</dc:creator><description>&lt;p&gt;nrf24lu1p:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; while(true)
  {
    switch(app_state)
    {
  // Active state dongle operation
  case APP_ACTIVE:    

    // Run pairing library                                    
    gzp_host_execute();
  
    if(hal_usb_get_state() == CONFIGURED)
    {
      // New pairing request received?
      if(gzp_id_req_received())
      {
        if(EnablePairFlag)
        {
          // Grant all requests
          gzp_id_req_grant();
        }
        else
        {
          gzp_id_req_reject();
        }
      }

      // If &amp;quot;vendor specific&amp;quot; data received on USB
      if(app_usb_out_data_ready)
      {
        switch(usb_out_buf[1])
        {
            case EnablePipeCmd:
            {
              LED =0;
              EnablePairFlag = true;
              EnablePipeFunc();
              break;
            }
            
            case DisablePipeCmd:
            {
              LED =1;
              EnablePairFlag = false;
              DisablePipeFunc();
              break;
            }
            
            default:
            {
              gzll_ack_payload_write(usb_out_buf, 17,NRFR_DEFAULT_PIPE);    //TODO_XIAO
              break;
            }
        }
        
        app_usb_out_data_ready = false;
        app_usb_awaiting_response = false;
      }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;nrf51822:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void Earse_PipeHandle(void)
{
  gzp_erase_pairing_data();
}

static void nRF_RepairHandle(void)
{
    while(!system_addr_received)
    {
      system_addr_received = gzp_address_req_send(); 
      nrf_delay_ms(3);      
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/thread/79856?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 12:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fc3ea4b-cee4-40b4-8df4-b22dc906a75f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Xiao,&lt;/p&gt;
&lt;p&gt;Thanks for the explanation.
You can either disable pairing using gzp_pairing_enable(false). This will close the pairing pipe.&lt;/p&gt;
&lt;p&gt;Or you can reject pairing request by calling gzp_id_req_reject() when you receive HostID request. In our example we always grant the request when we receive gzp_id_req_received()&lt;/p&gt;
&lt;p&gt;Please have a look at the gzp host example in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/thread/79855?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 02:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b59bd1-1110-49d8-bf4a-58c0d0ff4a06</guid><dc:creator>xiao</dc:creator><description>&lt;p&gt;Now I&amp;#39;m using nRF51822 and nRF24LU1P communication, nRF24LU1P as a host,using Private 2.4G communication protocol with the gazell library. Now I want to  achieve open and close the gazell pairing on the nRF24LU1P side, when open the matching function is to allow communication nRF51822 pairing, But the connection is not allowed when it is closed, Now I want to know how to open and close the pairing function on nrf24lu1p?
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/thread/79854?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2017 14:18:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4021d35-c005-4eb5-85bb-5ce3041f0f57</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry I can&amp;#39;t fully understand you. Please rephrase and put some more information on:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;What do you have now, how does your application work ?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;What do you want to achieve ?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;What was the problem when you try to achieve it?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/thread/79852?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2017 10:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e8f7c04-7ab0-47ed-876b-2e4838de399e</guid><dc:creator>xiao</dc:creator><description>&lt;p&gt;Gzp_pairing_enable (true); this function can be enabled or disabled nrf24lu1p host pairing, but when I set to false, 51822 initialization call gzp_erase_pairing_data (void), why can still be paired with the nrf24lu1p communication?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf24lu1p how to disable pair with gazell</title><link>https://devzone.nordicsemi.com/thread/79853?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 12:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd660387-950a-4f66-9261-deba9970649a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Xiao,&lt;/p&gt;
&lt;p&gt;Can you explain what you meant by  &amp;quot;paired debugging&amp;quot;  and &amp;quot;to close the NRF24LU1P Gazell pairing function&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Can you use gazell link layer only ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>