Skip to content
Commit e72ac4b0 authored by Mike Szczys's avatar Mike Szczys Committed by Henrik Brix Andersen
Browse files

net: coap: add TOO_MANY_REQUESTS to return codes



Add COAP_RESPONSE_CODE_TOO_MANY_REQUESTS to coap_header_get_code(). CoAP
4.29 response code for "Too many requests" is defined in coap.h but was
missing from the list of cases, resulting in a 0 being returned instead
of the proper code.

Signed-off-by: default avatarMike Szczys <mike@golioth.io>
parent a8af622f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment