Which transport protocol does CoAP primarily use compared to HTTP?
Think about which protocol is lightweight and suitable for constrained devices.
CoAP is designed for constrained devices and uses UDP to reduce overhead, while HTTP uses TCP for reliable connections.
Which scenario best fits CoAP instead of HTTP?
Consider device constraints and data size.
CoAP is optimized for small, low-power devices sending small amounts of data, like sensors.
What is the numeric value of the CoAP message type field for a confirmable message?
Confirmable messages require acknowledgment.
In CoAP, the message type 'Confirmable' is represented by 0.
Which method is best to ensure message delivery reliability in CoAP?
Think about how CoAP handles message loss over UDP.
Confirmable messages in CoAP require acknowledgments and retransmit if no ack is received, ensuring reliability.
You notice frequent message loss in CoAP communication over a lossy network. Which approach will most effectively reduce message loss?
Consider how CoAP handles retransmissions and timing.
Increasing retransmission timeout allows more time for acknowledgments in lossy networks, reducing message loss effectively.
