Hello,
Hope you are doing well. When working with wireless technology, it is recommended to work with the Connectivity Framework software.
I would recommend checking the different framework services, such as the Timer's Manager and the Low-power Library.
More information about these services, can found on the "Connectivity Framework Reference Manual.pdf" (Path: SDK\docs\wireless\Common)
Regards,
Ricardo