Hi,guys.
In my experiment, Firstly,I creat an app_timer work every 20ms interval
APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, false);
err_code = app_timer_create(&m_timer_id,
APP_TIMER_MODE_REPEATED,
TIME_timeout_handler);
APP_ERROR_CHECK(err_code);
and in the TIME_timeout_handler, I send some string every 20ms that is OK!
But when I send ble_nus_string_send (with 20 bytes) to my client (nRF connect ) every 20ms in TIME_timeout_handler then the bond change to disconnect.
I see the board led is always on but disconnect with my phone and also nothing ble data show in the TX Charateristic ? The board like dead and can't work anymore.
How to figure this problem and the can send fixed time interval ble data ? Can I need rebuilt a timer like timer0 ,timer1 or something else but no the app_timer who
base on RTC1?
I need you help.thanks.