Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

iOS Queued writes

I have a characteristic with variable length and max length of

NRF_SDH_BLE_GATT_MAX_MTU_SIZE - 3

i.e. the max possible data length based on the max MTU.

During connection the max data length is negotiated to 251. However, iOS returns 512 from maximumWriteValueLength.

When I write 512 bytes to this characteristic from iOS it uses queued writes. Is there some way to indicate to iOS that queued writes are not supported, and the max length should be the max data length?

Parents Reply Children
No Data
Related