Hello,
I'm attempting to write to a ble characteristic but when i call bt_gatt_write, I get BT_ATT_ERR_INVALID_ATTRIBUTE_LEN, I have tried to send the same command using nRF Connect application with ByteArray format and it works.
Here's my source code :
prj.conf :
Btw I'm using thingy91/nrf52840
Best regards
Youssef