mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-03 08:25:47 +03:00
If a response packet is received that is badly formatted, invoke the nack handler (if defined) with COAP_NACK_BAD_RESPONSE so that the requestor knows there is an issue, rather than timing out. However, if the response packet is so badly formatted, or it is not possible to find the requesting packet, then this nack event will not trigger, but an event is triggered with COAP_EVENT_BAD_PACKET.