This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrF52 IOT SDK Run function periodically

I am using a nrf52 DK and running the IOT Cloud CoAP Client example in the SDK. I need to run multiple functions periodically, and I need to be able to change the periods at which the functions run at dynamically. The example is making use of iot_timer_init and I can see that it is initializing a couple functions to run periodically, however once they are initialized I am not able to change the values. I am wondering what the best way to do this using the SDK. So that ideally normal program execution is still taking place while my functions are getting called.

Related