sending data over bluetooth

venkatesha kj
Posts: 7
Joined: Thu Mar 03, 2022 6:27 am

sending data over bluetooth

Postby venkatesha kj » Thu Sep 01, 2022 1:26 pm

when i send the data over Bluetooth why write exe event triggered instead of write event in ble
Attachments
Screenshot (630).png
Screenshot (630).png (177.57 KiB) Viewed 1412 times

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: sending data over bluetooth

Postby chegewara » Thu Sep 01, 2022 2:28 pm

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

venkatesha kj
Posts: 7
Joined: Thu Mar 03, 2022 6:27 am

Re: sending data over bluetooth

Postby venkatesha kj » Tue Sep 06, 2022 5:50 am

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?

Who is online

Users browsing this forum: No registered users and 80 guests