which CoAP message transfers response from the server within the acknowledgement message?
1.separate
2.confirmable
3. non-confirmable
4.piggyback
Answers
Answered by
3
The answer is Option 4.
The piggyback CoAP message transfers a response received from the server within the acknowledge message. This kind of messaging is featured in direct client-server communication. As soon as it receives a message, the server sends a response. This response is sent within the acknowledge message as a part of the same.
Answered by
2
Answer is - Piggyback
CoAP or Constrained Application Protocol has four messaging modes. They are confirmable, non-confirmable, piggyback, and separate.
Confirmable and non-confirmable modes represent the reliable and unreliable transmissions respectively.
Piggyback is used for client or server direct communication where the server sends its response directly after receiving the message, that is, within the ACK message.
The separate mode is used when the server response comes in a message separate from the ACK. The server may take some time to send it.
Like HTTP, CoAP uses GET, PUT, PUSH, and DELETE messages to retrieve, create, update, and delete respectively.
Similar questions