I have an application using N5150 SOC with S210 softdevice and using softdevice_handler, SDK 10.0.0.0, and I'm using Ant-FS to gather data from this device. I only want to do this at specific times so I need to shut down Ant-FS >99% of the time.
It's easy to start up Ant-FS and use it, but I don't see any way that antfs.c provides to shut down. Now, when I want to shut down, I block Ant Events to the antfs handler and simply close, then unassign the channel. It seems that there is more state within antfs that should be reset, but the state_machine_reset() function is local with no external interface so that doesn't appear to be an intentional interface.
What's the right way to do this?
Tom