Hi ,
I have been working on an example code in SDK : nRF5_SDK_17.0.2_d674dde\examples\ble_central_and_peripheral\experimental\ble_app_multirole_lesc\pca10040\s132\ses\
, So I wanted to create a repeated timeout based event to be executed. So I created a the timer instance and started the timer; however, the timeout even is not happening could you help me.
I have provided the section fo the code where I have created the timer inside the main function.
#define timer_ticks APP_TIMER_TICKS(3000)
APP_TIMER_DEF(mytimer_id);
////app_timer_id_t mytimer_id;
error_code = app_timer_create(&mytimer_id, APP_TIMER_MODE_REPEATED, timer_event_handler);
APP_ERROR_CHECK(error_code);
error_code = app_timer_start(&mytimer_id,timer_ticks,NULL);
The initilialization fo the timer is already done prior to this.