|
const char * | coap_package_name (void) |
| Returns a zero-terminated string with the name of this library. More...
|
|
const char * | coap_package_version (void) |
| Returns a zero-terminated string with the library version. More...
|
|
coap_log_t | coap_get_log_level (void) |
| Returns the current log level. More...
|
|
void | coap_set_log_level (coap_log_t level) |
| Sets the log level to the specified value. More...
|
|
static size_t | print_timestamp (char *s, size_t len, coap_tick_t t) |
|
static size_t | strnlen (const char *s, size_t maxlen) |
| A length-safe strlen() fake. More...
|
|
static unsigned int | print_readable (const unsigned char *data, unsigned int len, unsigned char *result, unsigned int buflen, int encode_always) |
|
size_t | coap_print_addr (const struct coap_address_t *addr, unsigned char *buf, size_t len) |
|
static const char * | msg_type_string (uint8_t t) |
| Returns a textual description of the message type t . More...
|
|
static const char * | msg_code_string (uint8_t c) |
| Returns a textual description of the method or response code. More...
|
|
static const char * | msg_option_string (uint16_t option_type) |
| Returns a textual description of the option name. More...
|
|
static unsigned int | print_content_format (unsigned int format_type, unsigned char *result, unsigned int buflen) |
|
static int | is_binary (int content_format) |
| Returns 1 if the given content_format is either unknown or known to carry binary data. More...
|
|
void | coap_show_pdu (const coap_pdu_t *pdu) |
|
void | coap_log_impl (coap_log_t level, const char *format,...) |
| Writes the given text to COAP_ERR_FD (for level <= LOG_CRIT ) or COAP_DEBUG_FD (for level >= LOG_WARNING ). More...
|
|