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

Characteristic length being truncated when sent as notification.

I have a custom profile containing five custom characteristics.

The largest characteristic is 256 bytes in size and can be read reliably by an iPhone.

When it is sent as a notification however, it is being truncated reliably at 182 bytes.

I am receiving no errors in the call to sd_ble_gatts_hvx() and it is returning the correct length value of 256.

What is causing the value to be truncated when sent as a notification but not when read by the central device directly?

Parents Reply Children
No Data
Related