← Back to the chapter

Technical detail · CoAP Security: Implementation and Operations

Fragmentation and block-transfer integrity

A secured CoAP transfer must fit its network path and preserve every byte of the resource representation, the encoded resource value, even when it is split into blocks.

Losing a required fragment prevents reassembly. CoAP (the Constrained Application Protocol) retransmission repeats a message rather than selectively retransmitting Internet Protocol (IP) fragments; link-layer recovery is separate. The maximum transmission unit (MTU) is the largest IP packet carried without IP fragmentation; IPv6’s minimum MTU is 1280 bytes. The 127-byte IEEE 802.15.4 frame limit is a link-layer limit, not the IPv6 MTU. Header compression and security affect the available payload budget.

Test the complete secured packet on the constrained path. All byte ranges must arrive and the assembled representation must be consistent, including across block-size changes and retransmissions. If smaller blocks still fail, inspect loss, authorization, total-size limits and server state before attributing the failure to MTU.

← Back to the chapter