NimBLE-Arduino icon indicating copy to clipboard operation
NimBLE-Arduino copied to clipboard

Max number of LL PDUs / max payload size

Open uutzinger opened this issue 2 weeks ago • 1 comments

With MTU 517 and LL tx_octets=251, a notify SDU can span two LL PDUs (SDU capacity ≈ 2×(251−MIC) = 502 bytes). Payload chunk should be ≤ 502 − (L2CAP 4 + ATT 3) = 495 bytes.

However this library implementation seems to limit notifies to one LL PDU (~244–247 payload) as attempts to send ~495-byte chunks trigger application error (EAPP).

uutzinger avatar Dec 07 '25 16:12 uutzinger

Thanks @uutzinger, I will update the nimble core soon which will hopefully resolve this.

h2zero avatar Dec 09 '25 00:12 h2zero