BLE GATT characteristic variable length (Zephyr)

I have a characteristic whose value is an array of char, which can from 1 to 20 bytes long. Using SDK17 I can set a vlen attribute and use the function update_characteristic() but I can't see a way to do the same in NCS/Zephyr.

So, how can I change the value *and length* of a characteristic?

These are all read-only, no notify, and created with the macros created using the macros BT_GATT_SERVICE_DEFINE BT_GATT_PRIMARY_SERVICE & BT_GATT_CHARACTERISTIC

Currently using NCS2.9.0 with a nRF52832DK

Parents Reply Children
No Data
Related