BLE notification transfer size
Posted: Mon May 29, 2017 3:09 am
Hi, Is there any limitation to characteristic size for use in notifications?
The reason for asking is the following:
I have a service with a characteristic with size 120 bytes.
I turn on the notifications and get values into my android Phone, then I only get 20 bytes.
Is the notification transfer size limited to 20 byte?
Is it possible to transmit 120 byte at a time?
plz..help !!
The reason for asking is the following:
I have a service with a characteristic with size 120 bytes.
I turn on the notifications and get values into my android Phone, then I only get 20 bytes.
Code: Select all
esp_gatts_attr_db_t ...
[TEST_IDX_VAL] =
{{ESP_GATT_AUTO_RSP}, {ESP_UUID_LEN_16, (uint8_t *)&TEST_UUID, ESP_GATT_PERM_READ,
150, 0, NULL}},
....
....
E (18572) BT: attribute value too long, to be truncated to 20
Is the notification transfer size limited to 20 byte?
Is it possible to transmit 120 byte at a time?
plz..help !!