Hi,
I have 2 timers and APP_TIMER_MAX_TIMERS = 3. I am getting NRF_ERROR_NO_MEM error.
If I increase to 6 it works. Is it 3 APP_TIMER_MAX_TIMERS per timer?
Thanks,
Hi,
I have 2 timers and APP_TIMER_MAX_TIMERS = 3. I am getting NRF_ERROR_NO_MEM error.
If I increase to 6 it works. Is it 3 APP_TIMER_MAX_TIMERS per timer?
Thanks,
My experience suggests it really is a 1:1 mapping.
ble_conn_params.c creates one if you are including that module. Have you searched all of our source files for calls to app_timer_create()? The Heart Rate Sensor example app that everyone uses creates two, one for the hear rate sensor and one for the battery voltage. If you leveraged off that source perhaps that is where the extra timers have gone?
Dan
mmm, I am using the proximity example on S110 for the board nrf6310 which on the main code only declares one timer. I added a custom service along with it's timer and that's where I got the problem.
I did some more test increasing timers and it is as you say 1:1. The other initial 2 must be hidden somewhere.
Thank you.