This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Query related to pairing NRF24 Device to HOST using button.

Dear all,

Greetings!!!

I am using the NRF24LE1E module. I want to pair my device with host using a button. Button is available on device side. Please help me to do it. Please share the solution links related to this task.

Parents
  • Hi,

     

    If you look at "gzll_device_w_dynamic_pairing" example in nRFgo SDK, these two function calls are what requests the pairing procedure:

          // Send "system address request". Needed for sending any user data to Host.
          gzp_address_req_send();
          
          // Send "Host ID request". Needed for sending encrypted user data to host.
          id_req_status = gzp_id_req_send();
        }
    
        // If waiting for Host to grant or reject ID request
        if(id_req_status == GZP_ID_RESP_PENDING)
        {
          // Send new ID request for fetching response
          id_req_status = gzp_id_req_send();
        }

     

    Note that the above makes use of the encrypted pipe, which is restricted to only one device on the host side. For unencrypted pairing, only call the "gzp_address_req_send()" function (remember to check the return value).

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    If you look at "gzll_device_w_dynamic_pairing" example in nRFgo SDK, these two function calls are what requests the pairing procedure:

          // Send "system address request". Needed for sending any user data to Host.
          gzp_address_req_send();
          
          // Send "Host ID request". Needed for sending encrypted user data to host.
          id_req_status = gzp_id_req_send();
        }
    
        // If waiting for Host to grant or reject ID request
        if(id_req_status == GZP_ID_RESP_PENDING)
        {
          // Send new ID request for fetching response
          id_req_status = gzp_id_req_send();
        }

     

    Note that the above makes use of the encrypted pipe, which is restricted to only one device on the host side. For unencrypted pairing, only call the "gzp_address_req_send()" function (remember to check the return value).

     

    Kind regards,

    Håkon

Children
No Data
Related