This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE HVX Notification Length not Working

Hello, 

I followed this tutorial and github example in order to make a custom service with the characteristics I need. However, I am running into an issue where the board sends all the bytes in the buffer (20 bytes) even though a value for length is specified. Attached is a screenshot of what the board sends and you can see all the trailing 0's from all the other values in the buffer.

Attached is an example of my implementation (specifically the pca10056, s140 part). Also in my specific application, I am trying to send a string as data through BLE and I am using strlen() to get the size of the string.

ble_app_our_service.zip

Related