You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/03/29 13:09:41 UTC

[GitHub] rymanluk commented on issue #21: nimble/ll: Fix scanning handle for directed advertising

rymanluk commented on issue #21: nimble/ll: Fix scanning handle for directed advertising
URL: https://github.com/apache/mynewt-nimble/pull/21#issuecomment-377229893
 
 
   @andrzej-kaczmarek you are looking for this function: ble_ll_scan_chk_filter_policy() and in particular this part:
   
       /* If this is a directed advertisement, init_addr is not NULL.
        * Check that it is for us */
       if (init_addr) {
           /* Is this for us? If not, is it resolvable */
           if (!ble_ll_is_our_devaddr(init_addr, init_addr_type)) {
               if (!chk_inita || !ble_ll_is_rpa(adv_addr, adv_addr_type)) {
                   return 1;
               }
           }
       }
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services