Skip to main content
DS.4
Senior
Oct 30, 2022 12:43 PM UTC
Question

Long Characteristic Write Value

Just trying to figure out the max size I can pass to the write function.

According to AN5289 :

Write long distant value

aci_gatt_write_long_char_value(conn_handle, RxCharHandle,offset, chunk_size, (&payload)+offset)

Max data write length is 243 bytes.

Is it correct or can I pass larger values?

This topic has been closed for replies.

1 reply

Remy ISSALYS
ST Technical Moderator
Nov 7, 2022 5:07 PM UTC

Hello,

Your revision of AN5289, it's an old revision, please refer to AN5289. According to programming manual PM0271, you can write data up to 245 bytes:

0693W00000WHrxdQAD.png 

Best Regards