andrzej-kaczmarek opened a new issue #935:
URL: https://github.com/apache/mynewt-nimble/issues/935


   Currently aux chain scanning is handled in the same way as standard scan 
from LL pov (they share the same LL state) and uses global scansm to keep some 
state. This means we have lots of code that needs to check what was scanned on 
each RXd packet.
   
   It should be possible to make it simpler by refactoring aux chain scanning 
into separate unit and make it independent of global scansm. The way it could 
work is that once we received ADV_EXT_IND with AuxPtr, we setup separate aux 
scanner, independent of global scansm with all necessary data that will handle 
scanning. This should be more effective way of scanning since there will be 
less conditional code to execute while scanning. Also such code could be also 
potentially shared later with periodic adv scanner since chains are handled in 
the same way.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to