bvdberg opened a new issue, #1323:
URL: https://github.com/apache/mynewt-nimble/issues/1323

   This is not so much an issues as a discussion, before we start 
implementation, since I couldn't find a forum for this.
   
   We would like to completely disable Nimble and the net-core on the NRF5340 
for long periods. When needed, the Nimble
   stack (and Net-core) should be restarted and used for communications. Nimble 
itself doesn't appear to have deinit() functions (yet).
   
   What we plan to do is:
   - Net-core: wait for Radio to be idle and then disable the Radio (and all 
other used peripherals). Then signal app-core
   - App-core: wait until net-core is done with shutdown and then really shut 
it down.
   - App-core Nimble stack: stop tasks, stop timer, remove queues (or clear), 
reset some static global structs to zero.
   
   The idea is that we dont have to modify the init steps this way, so future 
merges remain easy.
   
   Am I missing something with this approach?


-- 
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: commits-unsubscr...@mynewt.apache.org.apache.org

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

Reply via email to