Hi, I need to send data larger than 16 bytes on a characteristic. I see that the maximum number of bytes I can send using the indicate function is limited to 16 bytes.
static uint8_t sm[16];
ind_params.attr = &vnd_svc.attrs[2];
ind_params.func = indicate_cb;
ind_params.data = &sm;
ind_params.len = sizeof(sm);
if (bt_gatt_indicate(NULL, &ind_params) == 0) {
indicating = 2U;
}
Ideally, I need sm[] to be between 32 bytes and 64 bytes. Is there a way to increase this size or do I have to send multiple 16-byte packets? I am developing using Zephyr. Your help is highly appreciated.