Hi,
I am using ble_app_uart sample code. In that I want to run a timer based on the commands received in BLE. i.e., if command received is 'one' , LED1 should ON for one hour and the timing values should be written into flash storage. If any power reset is there, particular LED should run for remaining time. The timer counter value should be updated for every one hour into flash.
How it can be done. any sample code is there for similar kind?