Hello I'm using Zephyr and trying to update the characteristic value with interval of 50ms. The problem is that the android app nrf connect freezes after I start reading the values. The characteristic read turn off will not respond after.
I'm using k_msleep(50) which I think is blocking based on how I understand.
1. How can I update the value every 50ms with non blocking delay? Or any library for zephyr I can use? Tried looking at their samples but the led blink also uses k_msleep. Or maybe I can't find the right keyword.
2. Is updating value every 50ms just fine or too fast?
TIA