In IoT communication, why is block-wise transfer preferred for sending large payloads?
Think about network reliability and efficiency when sending large data.
Block-wise transfer splits large data into smaller blocks, reducing retransmission overhead and managing network congestion effectively.
Given a CoAP client requesting a large resource with block-wise transfer, what is the expected response header indicating block size?
GET /large-resource Response Headers: Block2: num=0; size=64; more=1
Look at the 'more' flag in the Block2 header.
The Block2 header with 'more=1' means the server will send the first block of 64 bytes and more blocks will follow.
Arrange the steps of a block-wise transfer from client request to complete payload reception.
Think about request-response order and how blocks are requested sequentially.
The client first requests the resource, server sends first block, client requests next blocks, server sends them until done.
A client using block-wise transfer stops receiving blocks after block number 3. What is the most likely cause?
Consider how the client controls which blocks to request next.
The client must request each block by number; missing or wrong block requests cause transfer to stop.
Which block size is best practice for block-wise transfer in constrained IoT devices with limited memory and lossy networks?
Consider memory limits and network reliability in IoT devices.
512 bytes is commonly chosen as a balanced block size to optimize memory use and reduce retransmission in lossy networks.
