Module coap_numbers::code

source ·
Expand description

Constants and functions for CoAP codes

This contains codes for all ranges – request, response and signalling.

Codes are expressed as u8 values in accordance with their serialized form.

Enums§

  • Classification of CoAP codes used in responses
  • Classification of CoAP codes in any message

Constants§

Functions§

  • Find which range a code is in
  • Format a CoAP code in dotted notation
  • Convert a CoAP code to dotted notation
  • Find the name for a CoAP code, if any is known