gmarull opened a new pull request, #2052:
URL: https://github.com/apache/mynewt-nimble/pull/2052

   I have observed that, when stopping the host and scheduling a new start, 
advertising fails (with error 530). This is because the static variable 
`ble_hs_id_rnd` is never reset, but, at least in case of nRF52, the LL random 
address is reset in ble_ll_reset(), which gets called when host starts up via 
ble_hs_startup_reset_tx().
   
   I'm not sure the solution is strictly correct for all cases/controllers. 
`ble_hs_id_pub` is never reset either, so maybe a more generic solution is 
needed.


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

To unsubscribe, e-mail: notifications-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to