Home
last modified time | relevance | path

Searched refs:coap_log_debug (Results 1 – 25 of 32) sorted by relevance

12

/third_party/libcoap/src/
Dcoap_ws.c179 coap_log_debug("* %s: WS header:%s\n", coap_session_str(session), buf); in coap_ws_log_header()
191 coap_log_debug("WS: key:%s\n", buf); in coap_ws_log_key()
221 coap_log_debug("WS: Layer not up\n"); in coap_ws_write()
280 coap_log_debug("* %s: ws: sent %4zd bytes\n", in coap_ws_write()
283 coap_log_debug("* %s: ws: sent %4zd of %4zd bytes\n", in coap_ws_write()
326 coap_log_debug("WS: Duplicate Host: header\n"); in coap_ws_rd_http_header_server()
332 coap_log_debug("WS: Duplicate Upgrade: header\n"); in coap_ws_rd_http_header_server()
336 coap_log_debug("WS: Invalid Upgrade: header\n"); in coap_ws_rd_http_header_server()
342 coap_log_debug("WS: Duplicate Connection: header\n"); in coap_ws_rd_http_header_server()
346 coap_log_debug("WS: Invalid Connection: header\n"); in coap_ws_rd_http_header_server()
[all …]
Dcoap_option.c23 coap_log_debug("cannot advance opt past end\n"); \
57 coap_log_debug("ignored reserved option delta 15\n"); in coap_opt_parse()
67 coap_log_debug("delta too large\n"); in coap_opt_parse()
82 coap_log_debug("found reserved option length 15\n"); in coap_opt_parse()
106 coap_log_debug("invalid option length\n"); in coap_opt_parse()
218 coap_log_debug("illegal option delta\n"); in coap_opt_length()
234 coap_log_debug("illegal option length\n"); in coap_opt_length()
254 coap_log_debug("illegal option delta\n"); in coap_opt_value()
268 coap_log_debug("illegal option length\n"); in coap_opt_value()
305 coap_log_debug("insufficient space to encode option delta %d\n", in coap_opt_setheader()
[all …]
Dcoap_netif.c79 coap_log_debug("* %s: netif: failed to read %zd bytes (%s) state %d\n", in coap_netif_dgrm_read()
85 coap_log_debug("* %s: netif: recv %4zd bytes\n", in coap_netif_dgrm_read()
106 coap_log_debug("* %s: netif: failed to read %zd bytes (%s)\n", in coap_netif_dgrm_read_ep()
139 coap_log_debug("* %s: netif: failed to send %zd bytes (%s) state %d\n", in coap_netif_dgrm_write()
146 coap_log_debug("* %s: netif: sent %4zd bytes\n", in coap_netif_dgrm_write()
149 coap_log_debug("* %s: netif: sent %4zd of %4zd bytes\n", in coap_netif_dgrm_write()
218 coap_log_debug("* %s: netif: recv %4zd bytes\n", in coap_netif_strm_read()
221 coap_log_debug("* %s: netif: failed to receive any bytes (%s) state %d\n", in coap_netif_strm_read()
240 coap_log_debug("* %s: netif: failed to send %zd bytes (%s) state %d\n", in coap_netif_strm_write()
247 coap_log_debug("* %s: netif: sent %4zd bytes\n", in coap_netif_strm_write()
[all …]
Dcoap_session.c51 coap_log_debug("socket fail\n"); in loopback_packet_check()
57 coap_log_debug("ioctl fail, errno = %d\n", errno); in loopback_packet_check()
62 coap_log_debug("interface name: %s\n", buf[i].ifr_name); in loopback_packet_check()
64 coap_log_debug("ioctl fail, errno = %d\n", errno); in loopback_packet_check()
282 coap_log_debug("***%s: session ack_timeout set to %u.%03u\n", in coap_session_set_ack_timeout()
293 coap_log_debug("***%s: session ack_random_factor set to %u.%03u\n", in coap_session_set_ack_random_factor()
308 coap_log_debug("***%s: session max_retransmit set to %u\n", in coap_session_set_max_retransmit()
317 coap_log_debug("***%s: session nstart set to %u\n", in coap_session_set_nstart()
327 coap_log_debug("***%s: session default_leisure set to %u.%03u\n", in coap_session_set_default_leisure()
337 coap_log_debug("***%s: session probing_rate set to %" PRIu32 "\n", in coap_session_set_probing_rate()
[all …]
Dcoap_net.c680 coap_log_debug("disabled support for critical option %u\n", in coap_option_check_critical()
723 coap_log_debug("unknown critical option %d\n", opt_iter.number); in coap_option_check_critical()
753 coap_log_debug("Option Block2 has invalid set M bit - cleared\n"); in coap_option_check_critical()
940 coap_log_debug("** %s: mid=0x%04x: added to retransmit queue (%ums)\n", in coap_wait_ack()
963 coap_log_debug("Testing for Extended Token support\n"); in coap_send_test_extended_token()
1023 coap_log_debug("** %s: timeout waiting for first response\n", in coap_client_delay_first()
1056 coap_log_debug("coap_send: Socket closed\n"); in coap_send()
1161 coap_log_debug("Token reused - see https://rfc-editor.org/rfc/rfc9175.html#section-4.2\n"); in coap_send()
1211 coap_log_debug("Replaced option Q-Block2 with Block2\n"); in coap_send()
1235 coap_log_debug("Replaced option Q-Block1 with Block1\n"); in coap_send()
[all …]
Dcoap_async.c65 coap_log_debug("asynchronous state for token '%s' already registered\n", outbuf); in coap_register_async()
104 coap_log_debug(" %s: Async request triggered\n", in coap_async_trigger()
124 coap_log_debug(" %s: Async request delayed for %u.%03u secs\n", in coap_async_set_delay()
131 coap_log_debug(" %s: Async request indefinately delayed\n", in coap_async_set_delay()
Dcoap_block.c85 coap_log_debug("block: Oversized packet - reduced to %zu from %zu\n", in coap_get_block_b()
154 coap_log_debug("not enough space, even the smallest block does not fit (1)\n"); in setup_block_b()
158 coap_log_debug("decrease block size for %zu to %d\n", avail, new_blk_size); in setup_block_b()
180 coap_log_debug("illegal block requested\n"); in coap_write_block_opt()
213 coap_log_debug("illegal block requested\n"); in coap_write_block_b_opt()
294 coap_log_debug("Illegal block requested (%d > last = %zu)\n", in coap_add_data_blocked_response()
392 coap_log_debug("Q-Block support not compiled in - ignored\n"); in coap_context_set_block_mode()
414 coap_log_debug("** %s: coap_cancel_observe: COAP_BLOCK_USE_LIBCOAP not enabled\n", in coap_cancel_observe()
632 coap_log_debug("** %s: coap_add_data_large: COAP_BLOCK_USE_LIBCOAP not enabled\n", in coap_add_data_large_internal()
761 coap_log_debug("not enough space, even the smallest block does not fit (2)\n"); in coap_add_data_large_internal()
[all …]
Dcoap_gnutls.c584 coap_log_debug("got psk_identity_hint: '%.*s'\n", (int)temp.length, in psk_client_callback()
1797 coap_log_debug("got psk_identity: '%.*s'\n", in psk_server_callback()
2111 coap_log_debug("***%s: Alert '%d': %s\n", in log_last_alert()
2137 coap_log_debug("* %s: GnuTLS established\n", in do_gnutls_handshake()
2304 coap_log_debug("coap_dtls_send: gnutls_record_send " in coap_dtls_send()
2334 coap_log_debug("* %s: dtls: sent %4d bytes\n", in coap_dtls_send()
2337 coap_log_debug("* %s: dtls: sent %4d of %4zd bytes\n", in coap_dtls_send()
2486 coap_log_debug("coap_dtls_receive: ret %d: remaining data %u\n", ret, ssl_data->pdu_len); in coap_dtls_receive()
2491 coap_log_debug("* %s: dtls: recv %4d bytes\n", in coap_dtls_receive()
2536 coap_log_debug("Invalid Cookie - sending Hello Verify\n"); in coap_dtls_hello()
[all …]
Dcoap_tinydtls.c322 coap_log_debug("dropped message that was received on invalid interface\n"); in dtls_application_data()
397 coap_log_debug("cannot get PSK, session not found\n"); in get_psk_info()
415 coap_log_debug("got psk_identity_hint: '%.*s'\n", (int)id_len, in get_psk_info()
486 coap_log_debug("got psk_identity: '%.*s'\n", in get_psk_info()
692 coap_log_debug("***new session %p\n", (void *)dtls_session); in coap_dtls_new_session()
757 coap_log_debug("***removed session %p\n", coap_session->tls); in coap_dtls_free_session()
796 coap_log_debug("* %s: dtls: sent %4d bytes\n", in coap_dtls_send()
799 coap_log_debug("* %s: dtls: sent %4d of %4zd bytes\n", in coap_dtls_send()
1527 coap_log_debug("get_cipher_alg: COSE cipher %d not supported\n", alg); in get_cipher_alg()
1551 coap_log_debug("get_hmac_alg: COSE HMAC %d not supported\n", hmac_alg); in get_hmac_alg()
[all …]
Dcoap_resource.c293 coap_log_debug("coap_resource_init: no memory left\n");
315 coap_log_debug("coap_resource_unknown_init: no memory left\n");
372 coap_log_debug("coap_resource_proxy_uri_init2: no memory left\n");
415 coap_log_debug("coap_add_attr: no memory left\n");
815 coap_log_debug("create new subscription %p key 0x%02x%02x%02x%02x\n",
948 coap_log_debug("removed subscription %p with token '%s' key 0x%02x%02x%02x%02x\n",
1038 coap_log_debug("coap_check_notify: pdu init failed, resource stays "
1048 coap_log_debug("coap_check_notify: cannot add token, resource stays "
1098 coap_log_debug("Observe PDU presented to app.\n");
1100 coap_log_debug("call custom handler for resource '%*.*s' (4)\n",
[all …]
Dcoap_mbedtls.c274 coap_log_debug("got psk_identity: '%.*s'\n", in psk_server_callback()
1291 coap_log_debug("* %s: Mbed TLS established\n",
1301 coap_log_debug("hello verification requested\n");
1472 coap_log_debug("* %s: failed to send %zd bytes (%s) state %d\n",
1967 coap_log_debug("* %s: dtls: sent %4d bytes\n",
1970 coap_log_debug("* %s: dtls: sent %4d of %4zd bytes\n",
2146 coap_log_debug("coap_dtls_receive: ret %d: remaining data %u\n", ret, ssl_data->pdu_len);
2151 coap_log_debug("* %s: dtls: recv %4d bytes\n",
2222 coap_log_debug("coap_dtls_hello: ret %d: remaining data %u\n", ret, ssl_data->pdu_len);
2387 coap_log_debug("* %s: tls: sent %4d bytes\n",
[all …]
Dcoap_pdu.c730 coap_log_debug("coap_add_option: options are not in correct order\n"); in coap_add_option_internal()
1003 coap_log_debug("coap_pdu_parse: UDP version not supported\n"); in coap_pdu_parse_header()
1020 coap_log_debug("coap_pdu_parse: unsupported protocol\n"); in coap_pdu_parse_header()
1041 coap_log_debug("coap_pdu_parse: PDU header token size broken\n"); in coap_pdu_parse_header()
1264 coap_log_debug("coap_pdu_parse: empty message is not empty\n"); in coap_pdu_parse_opt()
1270 coap_log_debug("coap_pdu_parse: invalid Token\n"); in coap_pdu_parse_opt()
1292 coap_log_debug("coap_pdu_parse: %d.%02d: offset %u malformed option\n", in coap_pdu_parse_opt()
1358 coap_log_debug("%s\n", outbuf); in coap_pdu_parse_opt()
1368 coap_log_debug("coap_pdu_parse: message ending in payload start marker\n"); in coap_pdu_parse_opt()
Dcoap_io.c98 coap_log_debug("bind_to_device: nic name: %s\n", buf[i].ifr_name); in bind_to_device()
121 coap_log_debug("bind_to_device: bind nic %s success\n", buf[i].ifr_name); in bind_to_device()
636 coap_log_debug("****** Next wakeup time %3ld.%09ld\n",
1263 coap_log_debug("cmsg_level = %d and cmsg_type = %d not supported - fix\n",
1274 coap_log_debug("Cannot determine local port\n");
1282 coap_log_debug("Cannot determine local port\n");
1335 coap_log_debug("****** Next wakeup time %3ld.%09ld\n",
1402 coap_log_debug("** DTLS global timeout set to %dms\n",
1451 coap_log_debug("** %s: DTLS retransmit timeout\n",
1549 coap_log_debug("** %s: DTLS retransmit timeout\n", coap_session_str(s));
[all …]
Dcoap_openssl.c521 coap_log_debug("got psk_identity_hint: '%.*s'\n", (int)temp.length, in coap_dtls_psk_client_callback()
601 coap_log_debug("got psk_identity: '%.*s'\n", in coap_dtls_psk_server_callback()
2051 coap_log_debug(" %s: Using PKI ciphers\n", in tls_secret_call_back()
2092 coap_log_debug(" %s: Setting PSK ciphers\n", in tls_secret_call_back()
2379 coap_log_debug(" %s: PSK request\n", in tls_client_hello_call_back()
2479 coap_log_debug(" %s: Using PKI ciphers\n", in tls_client_hello_call_back()
2909 coap_log_debug("CoAP Client restricted to (D)TLS1.2 with Identity Hint callback\n"); in setup_client_ssl_session()
3064 coap_log_debug("* %s: dtls: sent %4d bytes\n", in coap_dtls_send()
3067 coap_log_debug("* %s: dtls: sent %4d of %4zd bytes\n", in coap_dtls_send()
3209 coap_log_debug("coap_dtls_receive: ret %d: remaining data %u\n", r, ssl_data->pdu_len); in coap_dtls_receive()
[all …]
Dcoap_subscribe.c164 coap_log_debug("persist: OSCORE association being updated\n"); in coap_persist_observe_add()
273 coap_log_debug("persist: OSCORE association added\n"); in coap_persist_observe_add()
440 coap_log_debug("persist: New session/observe being created\n"); in coap_op_observe_load_disk()
681 coap_log_debug("persist: Initial observe number being updated\n"); in coap_op_obs_cnt_load_disk()
921 coap_log_debug("persist: dynamic resource being re-created\n"); in coap_op_dyn_resource_load_disk()
Dcoap_io_lwip.c164 coap_log_debug("* %s: lwip: recv %4d bytes\n", in coap_recvc()
250 coap_log_debug("* %s: lwip: recv %4d bytes\n", in coap_recvs()
Dcoap_debug.c1254 coap_log_debug("packet loss level set to %d%%\n", n); in coap_debug_set_packet_loss()
1292 coap_log_debug("Packet %u dropped\n", send_packet_count); in coap_debug_send_packet()
1301 coap_log_debug("Packet %u dropped\n", send_packet_count); in coap_debug_send_packet()
Dcoap_uri.c493 coap_log_debug("make_decoded_option(): buflen is 0!\n"); in make_decoded_option()
513 coap_log_debug("buffer too small for option\n"); in make_decoded_option()
/third_party/libcoap/examples/
Dcoap-rd.c192 coap_log_debug("hnd_put_rd: cannot allocate storage for new rd\n"); in hnd_put_resource()
222 coap_log_debug("cannot create response for mid=0x%x\n", in hnd_put_resource()
231 coap_log_debug("hnd_get_rd: cannot send response for mid=0x%x\n", in hnd_put_resource()
360 coap_log_debug("hnd_get_rd: cannot allocate storage for rd\n"); in make_rd()
367 coap_log_debug("hnd_get_rd: cannot allocate storage for rd->data\n"); in make_rd()
630 coap_log_debug("(D)TLS not enabled as neither -k or -c options specified\n"); in fill_keystore()
Dcoap-server.c426 coap_log_debug("async: query is just a number of seconds to alter delay\n"); in hnd_get_async()
854 coap_log_debug("Cannot add token to incoming proxy response PDU\n"); in remove_proxy_association()
1069 coap_log_debug("body build memory error\n"); in hnd_proxy_uri()
1094 coap_log_debug("cannot add token to proxy request\n"); in hnd_proxy_uri()
1155 coap_log_debug("cannot add data to proxy request\n"); in hnd_proxy_uri()
1627 coap_log_debug("Unknown proxy ongoing session response received\n"); in proxy_response_handler()
1631 coap_log_debug("** process upstream incoming %d.%02d response:\n", in proxy_response_handler()
1641 coap_log_debug("body build memory error\n"); in proxy_response_handler()
1656 coap_log_debug("Failed to create ongoing proxy response PDU\n"); in proxy_response_handler()
1661 coap_log_debug("cannot add token to ongoing proxy response PDU\n"); in proxy_response_handler()
[all …]
Dcoap-client.c290 coap_log_debug("cannot add token to request\n"); in coap_new_request()
395 coap_log_debug("** process incoming %d.%02d response:\n", in message_handler()
422 coap_log_debug("observation relationship established, set timeout to %d\n", in message_handler()
1899 coap_log_debug("timeout is set to %u seconds\n", wait_seconds); in main()
1901 coap_log_debug("sending CoAP request:\n"); in main()
1945 coap_log_debug("clear observation relationship\n"); in main()
1981 coap_log_debug("sending CoAP request:\n"); in main()
/third_party/libcoap/include/coap3/
Dcoap_debug.h120 #define coap_log_debug(...) coap_log(COAP_LOG_DEBUG, __VA_ARGS__) macro
122 #define coap_log_debug(...) coap_no_log() macro
/third_party/libcoap/man/
Dcoap_logging.txt.in22 coap_log_debug,
61 *void coap_log_debug(const char *_format_, _..._);*
199 *Function: coap_log_debug()*
201 The *coap_log_debug*() function provides a wrapper to the *coap_log*() function
DMakefile.am126 @echo ".so man3/coap_logging.3" > coap_log_debug.3
Dcoap_io.txt.in379 coap_log_debug("select: %s (%d)\n", coap_socket_strerror(), errno);
464 coap_log_debug("epoll_wait: %s (%d)\n", coap_socket_strerror(), errno);
484 coap_log_debug("epoll_ctl: %s (%d)\n", coap_socket_strerror(), errno);

12