Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

The data sent using sd_ble_gatts_hvx() is appended with "00" for the MTU size.

I am using nRF5 SDK (17.1.0).

The MTU size is set to 53.
I am using sd_ble_gatts_hvx() to send 16 bytes of data via Notification.

When I check the received data with the nRF Connect app (Android),
it is received with 34 bytes of "00" added after the 16 bytes of data.

What I actually want to implement is to send only 16 bytes of data.
How can I send it without adding "00"?

Related