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/10/03 20:02:20 UTC

[GitHub] ccollins476ad opened a new pull request #205: host: Clear addresses on reset

ccollins476ad opened a new pull request #205: host: Clear addresses on reset
URL: https://github.com/apache/mynewt-nimble/pull/205
 
 
   A stack reset causes the controller to forget its random address.  Therefore, the host must reconfigure the controller with a random address.
   
   Prior to this commit, the host did not clear its addresses on stack reset.  As a consequence, attempting to use a random address with `ble_hs_util_ensure_addr()` function following a reset would not work.  The host would think that it had already configured the controller with a random address, so this function would be a no-op.

----------------------------------------------------------------
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