Sorry about a so broad question. But this is what I have experienced but don't know where to look. I have done a few project using BLE with RTX. Just typical stuff similar to the heart rate example. All good. For my current project, after finished other logic, I added the BLE feature in the code, basically copy and paste from my other projects. But somehow when I test it with nRF Connect, connecting and writing to characteristics are very slow, takes a few of seconds to update. But everything still works properly. The rest of the software is just doing some sampling every second.
So what could be the issue? Thanks Paul