Skip to main content
DS.4
Senior
October 30, 2022
Question

Long Characteristic Write Value

  • October 30, 2022
  • 1 reply
  • 605 views

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
Technical Moderator
November 7, 2022

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