cancel
Showing results for 
Search instead for 
Did you mean: 

Long Characteristic Write Value

DS.4
Senior II

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?

1 REPLY 1
Remy ISSALYS
ST Employee

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