iot/zoap: Add support for error 4.15

The "Unsupported Content-Format" error was missing from the list of
supported errors.

Change-Id: I208d79f8949838187b877eaa0a53597d8a5bc6cb
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
This commit is contained in:
Vinicius Costa Gomes 2016-09-26 15:39:01 -03:00 committed by Jukka Rissanen
parent fa5481b1cb
commit f996299754

View file

@ -134,6 +134,7 @@ enum zoap_response_code {
ZOAP_RESPONSE_CODE_INCOMPLETE = zoap_make_response_code(4, 8),
ZOAP_RESPONSE_CODE_PRECONDITION_FAILED = zoap_make_response_code(4, 12),
ZOAP_RESPONSE_CODE_REQUEST_TOO_LARGE = zoap_make_response_code(4, 13),
ZOAP_RESPONSE_CODE_UNSUPPORTED_CONTENT_FORMAT = zoap_make_response_code(4, 15),
ZOAP_RESPONSE_CODE_INTERNAL_ERROR = zoap_make_response_code(5, 0),
ZOAP_RESPONSE_CODE_NOT_IMPLEMENTED = zoap_make_response_code(5, 1),
ZOAP_RESPONSE_CODE_BAD_GATEWAY = zoap_make_response_code(5, 2),