Write Long Characteristic Values (Execute Write Request)

2 posts / 0 new
Last post
Vadym
Offline
Last seen:1年1月前
加入:2015-08-13 08:28
Write Long Characteristic Values (Execute Write Request)

Hi.

I use DA14580 device.
I need to receive long value. For data receiving i use "gattc_write_cmd_ind_handler" function.
How can i know when writing is completed?
Do you have some example for handler, when I receive "Execute Write Request"?
Do I need to do handler for "GATTC_EXECUTE_WRITE_CMD"?

Thanks!

Device:
Vadym
Offline
Last seen:1年1月前
加入:2015-08-13 08:28
Its already solved.

Its already solved.
In function "gattc_write_cmd_ind_handler" the flag "param->last" should to be used.
The flag "informs that it's last request of a multiple prepare write request".

Topic locked