diff --git a/aiocoap/numbers/codes.py b/aiocoap/numbers/codes.py index 4981839a..38f1c894 100644 --- a/aiocoap/numbers/codes.py +++ b/aiocoap/numbers/codes.py @@ -54,12 +54,14 @@ class Code(ExtensibleIntEnum): UNSUPPORTED_CONTENT_FORMAT = 143 UNSUPPORTED_MEDIA_TYPE = UNSUPPORTED_CONTENT_FORMAT # deprecated alias UNPROCESSABLE_ENTITY = (4 << 5) + 22 + TOO_MANY_REQUESTS = (4 << 5) + 29 INTERNAL_SERVER_ERROR = 160 NOT_IMPLEMENTED = 161 BAD_GATEWAY = 162 SERVICE_UNAVAILABLE = 163 GATEWAY_TIMEOUT = 164 PROXYING_NOT_SUPPORTED = 165 + HOP_LIMIT_REACHED = (5 << 5) + 8 CSM = 225 PING = 226