Skip to content
Commit c0eb260c authored by Seppo Takalo's avatar Seppo Takalo Committed by Anas Nashif
Browse files

net: lib: coap_client: Drop duplicate MID only after responding with Ack



Even if we receive duplicate confirmable message, we should still
respond with the Ack. Just don't deliver the second callback.

This is achieved by moving the MID deduplication to after Ack handling.

Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent 48434a3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment