Skip to content
Commit 48725276 authored by Robert Lubos's avatar Robert Lubos Committed by Daniel DeGrasse
Browse files

net: coap_client: Don't send RST on unrecognized ACK response



According to CoAP RFC (7252, ch. 4.2), Reset cannot be sent in a
response for an ACK reply, rejected ACKs should be silently ignored
instead. Therefore, in case an unrecognized response is received, verify
the response type before sending Reset.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 3ff4d051
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment