This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to send more than 8 packets of 20bytes to ble app using notification

Hello, I am using sdk12 and uart code. I want to send my sensor data readings to ble app. For that I have modified the ble_app_uart code and I am able to send 8 packets of 20 bytes using ble_nus_string_send function. But my challenge is I am not getting more than 8 packets in the app. I think that the queue size is set to 8. Which buffer should I allocate more storage?

I am attaching my main.c New Text Document (3).txt

I have checked the error code of ble_nus_string function. It returns me success until it sends 8 packets and than it returns error after 8th packet.

Error - queueerror.PNG

Thanks, Shailav

Related