Page 1 of 1

sending data over bluetooth

Posted: Thu Sep 01, 2022 1:26 pm
by venkatesha kj
when i send the data over Bluetooth why write exe event triggered instead of write event in ble

Re: sending data over bluetooth

Posted: Thu Sep 01, 2022 2:28 pm
by chegewara
There is 2 types of write:
- GATT_WRITE_EVT - to send/write partially data, in case the data is longer than MTU
- GATT_WRITE_EXEC_EVT - to inform when data write is finished, which means all data are already transferred

Re: sending data over bluetooth

Posted: Tue Sep 06, 2022 5:50 am
by venkatesha kj
Actually if the data size is less than 23 bytes write event was triggered but if its greater than 23 bytes write exe event triggered can i know why?