Hi Martin,

On Fri, Sep 28, 2018 at 04:30:17PM -0700, Martin Turon wrote:
> +1 for graceful shutdown.
> 
> It could also be useful for coarse, multi-protocol use cases such as using
> BLE for commissioning, shutting down that stack, and then starting a 15.4
> stack such as Thread.
> 
> In general, it would be great if nimble could support high level stack
> start / stop commands such as the following shell API imply:
> 
> ble start                # start nimble stack
> ble scan start           # start BLE scan ...
> ble scan stop            # stop BLE scan
> *ble stop                 *# NEW: gracefully shutdown nimble
> 
> 
> All of the above can be supported right now, except "ble stop", so your
> proposal is welcome.
> 
> I would also suggest keeping the concepts of graceful shutdown and reset
> separable.

I agree with all of the above.  Unfortunately, the ability to stop the
stack absent a reset, which implies the ability to reenable it, adds a
bit of complexity to this feature.  I think this functionality is
important enough to justify the added complexity.

Chris

Reply via email to