Hi,
I am trying to send periodic BLE messages using a clock module that came with simpleBLEperipheral example. I would like to expand that concept and use multiple clocks where I could send different measurements with each having its own timing interval. Basically each measurement would have it's own timer.
Ideally I would like to be able to create/destroy timers based on received messages. But it seems like I have to create predetermined number of clock instances first and then decide if I want to use them based on the need.
Is creating multiple clock instances my only option here for sending messages at different timing intervals?
I read in another post about an event object that might work better but I didn't find any examples.
Thanks