Software timers use cases

Hi there,
So my system works like , Every 2 hours my system will wakeup from sleep and send some data over network for 20 minuets and goes back to sleep. Here in this 20 minuets, I am using FreeRTOS Software Timers to trigger in the interval of 5 sec, From the SW Timer handler I am sending data over network.
I am suspending all the tasks before going to sleep.
In this situation do I need to delete the timer or stop the timer after suspending all the tasks?

Yes, you should stop the 5-second timer when you’re ready to go to sleep. Then start the timer again when the next 20-minute reporting period starts.

Hi @jefftenney ,
Thank you for your reply.
One more thing, can I stop or start the timer from the timer handler?

Yes. Just be sure that the xTicksToWait parameter is set to zero if calling the timer function from a timer callback.