Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Issue with pushing data via NUS

Good day!

I am working on a custom board which has NRF52 and am using SDK 12.2.0 and in that, I want to stream BNO055 data. The base code I'm using is ble_app_hrs. The problem is, I am unable to push the data via Nordic UART Service. I have added NUS related codes in service too. I have configured my TWI properly and am able to see my buffer getting populated with data in the watch window. But as soon as I add ble_nus_string_send() and push the data from a buffer, the code behaves weirdly and my device also doesn't get connected in NRF Connect (but it advertises). But if ble_nus_string_send() is commented out, connection takes place properly.]

Parents Reply Children
No Data
Related