Home
last modified time | relevance | path

Searched refs:coap_log_warn (Results 1 – 25 of 33) sorted by relevance

12

/third_party/libcoap/src/
Dcoap_tcp.c63 coap_log_warn("coap_socket_connect_tcp1: socket: %s\n",
74 coap_log_warn("coap_socket_connect_tcp1: ioctl FIONBIO: %s\n",
94 coap_log_warn("coap_socket_connect_tcp1: setsockopt IPV6_V6ONLY: %s\n",
111 coap_log_warn("coap_socket_connect_tcp1: setsockopt SO_REUSEADDR: %s\n",
119 coap_log_warn("coap_socket_connect_tcp1: bind: %s\n",
141 coap_log_warn("coap_socket_connect_tcp1: connect: %s\n",
147 coap_log_warn("coap_socket_connect_tcp1: getsockname: %s\n",
152 coap_log_warn("coap_socket_connect_tcp1: getpeername: %s\n",
179 coap_log_warn("coap_socket_finish_connect_tcp: getsockopt: %s\n",
184 coap_log_warn("coap_socket_finish_connect_tcp: connect failed: %s\n",
[all …]
Dcoap_io.c104 coap_log_warn("bind_to_device: nic is not up\n"); in bind_to_device()
164 coap_log_warn("coap_socket_bind_udp: socket: %s\n", coap_socket_strerror());
173 coap_log_warn("coap_socket_bind_udp: ioctl FIONBIO: %s\n", coap_socket_strerror());
177 coap_log_warn("coap_socket_bind_udp: setsockopt SO_REUSEADDR: %s\n",
228 coap_log_warn("coap_socket_bind_udp: bind: %s\n",
235 coap_log_warn("coap_socket_bind_udp: getsockname: %s\n",
290 coap_log_warn("coap_socket_connect_udp: socket: %s\n",
296 coap_log_warn("coap_socket_connect_udp: setsockopt SO_BROADCAST fail, err: %s\n",
309 coap_log_warn("coap_socket_connect_udp: ioctl FIONBIO: %s\n",
329 coap_log_warn("coap_socket_connect_udp: setsockopt IPV6_V6ONLY: %s\n",
[all …]
Dcoap_openssl.c176 coap_log_warn("OpenSSL version 1.1.0 or later is required\n"); in coap_dtls_is_supported()
188 coap_log_warn("OpenSSL version 1.1.1 or later is required\n"); in coap_dtls_is_supported()
199 coap_log_warn("OpenSSL version 1.1.0 or later is required\n"); in coap_tls_is_supported()
204 coap_log_warn("OpenSSL version 1.1.1 or later is required\n"); in coap_tls_is_supported()
547 coap_log_warn("no PSK available\n"); in coap_dtls_psk_client_callback()
556 coap_log_warn("psk_identity too large, truncated to %d bytes\n", in coap_dtls_psk_client_callback()
566 coap_log_warn("psk_key too large, truncated to %d bytes\n", in coap_dtls_psk_client_callback()
618 coap_log_warn("psk_key too large, truncated to %d bytes\n", in coap_dtls_psk_server_callback()
1049 coap_log_warn("*** setup_pki: DTLS: Unknown Private Key type %d for ASN1\n", in map_key_type()
1096 coap_log_warn("***setup_pki: (D)TLS: %s%s\n", in add_ca_to_cert_store()
[all …]
Dcoap_gnutls.c156 coap_log_warn("%s: '%s'\n", func, gnutls_strerror(ret)); \
269 coap_log_warn("** %s: %s", in coap_gnutls_audit_log_func()
272 coap_log_warn("** (null): %s", text); in coap_gnutls_audit_log_func()
347 coap_log_warn("coap_context_set_pki_root_cas: (D)TLS environment " in coap_dtls_context_set_pki_root_cas()
353 coap_log_warn("coap_context_set_pki_root_cas: ca_file and/or ca_path " in coap_dtls_context_set_pki_root_cas()
501 coap_log_warn("gnutls_priority_init: Syntax error at: %s\n", err); in coap_dtls_new_context()
503 coap_log_warn("gnutls_priority_init: %s\n", gnutls_strerror(ret)); in coap_dtls_new_context()
610 coap_log_warn("no PSK available\n"); in psk_client_callback()
815 coap_log_warn(" %s: %s: '%s'\n", in cert_verify_gnutls()
832 coap_log_warn(" %s: %s: '%s'\n", in cert_verify_gnutls()
[all …]
Dcoap_tinydtls.c302 coap_log_warn("dtls_send_to_peer: cannot find local interface\n"); in dtls_send_to_peer()
438 coap_log_warn("no PSK identity given\n"); in get_psk_info()
443 coap_log_warn("psk_identity too large, truncated to %zd bytes\n", in get_psk_info()
460 coap_log_warn("no PSK key given\n"); in get_psk_info()
465 coap_log_warn("psk_key too large, truncated to %zd bytes\n", in get_psk_info()
499 coap_log_warn("no PSK key given\n"); in get_psk_info()
505 coap_log_warn("psk_key too large, truncated to %zd bytes\n", in get_psk_info()
523 coap_log_warn("psk_hint too large, truncated to %zd bytes\n", in get_psk_info()
536 coap_log_warn("unsupported request type: %d\n", type); in get_psk_info()
782 coap_log_warn("coap_dtls_send: cannot send PDU\n"); in coap_dtls_send()
[all …]
Dcoap_oscore.c39 coap_log_warn("OSCORE: Recipient ID must be defined for a client\n"); in coap_oscore_initiate()
161 coap_log_warn("Proxy URI '%.*s' not decodable\n", in coap_rebuild_pdu_for_proxy()
597 coap_log_warn("OSCORE: Encryption Failure, result code: %d \n", in coap_oscore_new_pdu_encrypted()
806 coap_log_warn("OSCORE: Not enabled\n"); in coap_oscore_decrypt_pdu()
815 coap_log_warn("OSCORE: No protected payload\n"); in coap_oscore_decrypt_pdu()
895 coap_log_warn("OSCORE: OSCORE Option cannot be decoded.\n"); in coap_oscore_decrypt_pdu()
993 coap_log_warn("OSCORE: Replayed or old message\n"); in coap_oscore_decrypt_pdu()
1014 coap_log_warn("OSCORE: OSCORE Option cannot be decoded.\n"); in coap_oscore_decrypt_pdu()
1184 coap_log_warn("OSCORE: Replayed or old message\n"); in coap_oscore_decrypt_pdu()
1190 coap_log_warn("OSCORE Replay protection, SEQ larger than SEQ_MAX.\n"); in coap_oscore_decrypt_pdu()
[all …]
Dcoap_pdu.c252 coap_log_warn("coap_pdu_resize: pdu too big\n"); in coap_pdu_resize()
266 coap_log_warn("coap_pdu_resize: realloc failed\n"); in coap_pdu_resize()
312 coap_log_warn("coap_add_token: The token must defined first. Token ignored\n"); in coap_add_token()
323 coap_log_warn("coap_add_token: Token size too large. Token ignored\n"); in coap_add_token()
327 coap_log_warn("coap_add_token: Insufficient space for token. Token ignored\n"); in coap_add_token()
378 coap_log_warn("coap_add_token: Token size too large. Token ignored\n"); in coap_update_token()
386 coap_log_warn("Failed to update token\n"); in coap_update_token()
694 coap_log_warn("coap_add_optlist_pdu: PDU already contains data\n"); in coap_add_option()
754 coap_log_warn("coap_add_option: cannot add option\n"); in coap_add_option_internal()
781 coap_log_warn("coap_add_data: PDU already contains data\n"); in coap_add_data_after()
[all …]
Dcoap_mem.c415 coap_log_warn("coap_malloc_type: Requested memory exceeds maximum object " in coap_malloc_type()
423 coap_log_warn("coap_malloc_type: Failure (no free blocks) for type %d\n", in coap_malloc_type()
442 coap_log_warn("coap_realloc_type: Requested memory exceeds maximum object " in coap_realloc_type()
Dcoap_mbedtls.c239 coap_log_warn("coap_netif_dgrm_write failed (%zd != %zu)\n", in coap_dgram_write()
450 coap_log_warn(" %s: %s: '%s' depth %d\n", in cert_verify_callback_mbedtls()
479 coap_log_warn(" %s: %s: issue 0x%" PRIx32 ": '%s' depth %d\n", in cert_verify_callback_mbedtls()
974 coap_log_warn("PSK not enabled in Mbed TLS library\n"); in setup_server_ssl_session()
1179 coap_log_warn("PSK not enabled in Mbed TLS library\n");
1324 coap_log_warn("***%s: Alert '%d'%s\n",
1335 coap_log_warn("do_mbedtls_handshake: session establish "
1350 coap_log_warn("do_mbedtls_handshake: session establish "
1710 coap_log_warn("CoAP Client with Mbed TLS does not support Identity Hint selection\n");
1752 coap_log_warn("coap_context_set_pki_root_cas: (D)TLS environment "
[all …]
Dcoap_net.c237 coap_log_warn("coap_new_node: malloc failed\n"); in coap_new_node()
480 coap_log_warn("coap_startup() should be called before any other " in coap_new_context()
1101 coap_log_warn("coap_send: PDU dropped as token too long (%zu > %" PRIu32 ")\n", in coap_send()
1151 coap_log_warn("Block1 and Q-Block1 cannot be in the same request\n"); in coap_send()
1435 coap_log_warn("Proxy loop detected '%s'\n", in coap_send_internal()
1441 coap_log_warn("Proxy return has bad hop limit count '%zu'\n", in coap_send_internal()
1471 coap_log_warn("Proxy loop detected '%s'\n", in coap_send_internal()
1561 coap_log_warn("OSCORE: PDU could not be encrypted\n"); in coap_send_internal()
1682 coap_log_warn("** %s: mid=0x%04x: give up after %d attempts\n", in coap_retransmit()
1851 coap_log_warn("discard malformed PDU\n"); in coap_read_session()
[all …]
Dcoap_io_contiki.c116 coap_log_warn("coap_socket_connect_udp: ignoring local_if parameter\n"); in coap_socket_connect_udp()
207 coap_log_warn("Received message does not fit within buffer\n"); in coap_socket_recv()
Dcoap_address.c228 coap_log_warn("coap_is_bcst: Cannot determine any broadcast addresses\n"); in coap_is_bcast()
243 coap_log_warn("coap_is_bcst: Insufficient space for broadcast addresses\n"); in coap_is_bcast()
275 coap_log_warn("coap_address_ntop: contiki not supported"); in coap_address_ntop()
520 coap_log_warn("getaddrinfo: %s\n", gai_strerror(error)); in coap_resolve_address_info()
Dcoap_option.c533 coap_log_warn("coap_new_optlist: malloc failure\n"); in coap_new_optlist()
556 coap_log_warn("coap_add_optlist_pdu: PDU already contains data\n"); in coap_add_optlist_pdu()
Dcoap_uri.c156 coap_log_warn("Unsupported URI type %d\n", uri->scheme); in coap_split_uri_sub()
347 coap_log_warn("URI path will be truncated (max buffer %zu)\n", in coap_uri_into_options()
367 coap_log_warn("URI query will be truncated (max buffer %zu)\n", in coap_uri_into_options()
Dcoap_session.c1168 coap_log_warn("***%s: Incomplete session timed out\n", in coap_endpoint_get_session()
1335 coap_log_warn("***%s: session %p: duplicate - already exists\n", in coap_session_create_client()
1474 coap_log_warn("Cannot store session Identity (PSK)\n"); in coap_new_client_session_psk2()
1479 coap_log_warn("Identity (PSK) not defined\n"); in coap_new_client_session_psk2()
1488 coap_log_warn("Cannot store session pre-shared key (PSK)\n"); in coap_new_client_session_psk2()
1493 coap_log_warn("Pre-shared key (PSK) not defined\n"); in coap_new_client_session_psk2()
1887 coap_log_warn("coap_new_endpoint: malloc"); in coap_new_endpoint()
/third_party/libcoap/examples/riot/examples_libcoap_client/
Dclient-coap.c143 coap_log_warn("Failed to parse uri %s\n", coap_uri); in client_coap_init()
153 coap_log_warn("Failed to resolve address %*.*s\n", (int)uri.host.length, in client_coap_init()
160 coap_log_warn("Failed to initialize context\n"); in client_coap_init()
202 coap_log_warn("Failed to create session\n"); in client_coap_init()
215 coap_log_warn("Failed to create PDU\n"); in client_coap_init()
221 coap_log_warn("Failed to create options\n"); in client_coap_init()
229 coap_log_warn("Failed to add options to PDU\n"); in client_coap_init()
237 coap_log_warn("Failed to send PDU\n"); in client_coap_init()
/third_party/libcoap/src/oscore/
Doscore.c371 coap_log_warn("OSCORE Replay protection, SEQ larger than SEQ_MAX.\n"); in oscore_validate_sender_seq()
392 coap_log_warn("OSCORE: Replay protection, replayed SEQ (%" PRIu64 ")\n", in oscore_validate_sender_seq()
400 coap_log_warn("OSCORE: Replay protection, SEQ outside of replay window (%" in oscore_validate_sender_seq()
409 coap_log_warn("OSCORE: Replay protection, replayed SEQ (%" PRIu64 ")\n", in oscore_validate_sender_seq()
Doscore_crypto.c62 coap_log_warn("oscore_hmac_hash: Failed hmac\n"); in oscore_hmac_hash()
/third_party/libcoap/include/coap3/
Dcoap_debug.h102 #define coap_log_warn(...) coap_log(COAP_LOG_WARN, __VA_ARGS__) macro
104 #define coap_log_warn(...) coap_no_log() macro
/third_party/libcoap/examples/
Dcoap-server.c559 coap_log_warn("Unable to create a new cache entry\n"); in hnd_put_example_data()
561 coap_log_warn("No cache entry available for the non-first BLOCK\n"); in hnd_put_example_data()
680 coap_log_warn("Unsupported Proxy Scheme '%*.*s'\n", in get_uri_proxy_scheme_info()
690 coap_log_warn("Proxy Scheme requires Uri-Host\n"); in get_uri_proxy_scheme_info()
719 coap_log_warn("Proxy URI http or https not supported\n"); in verify_proxy_scheme_supported()
725 coap_log_warn("coaps URI scheme not supported for proxy\n"); in verify_proxy_scheme_supported()
731 coap_log_warn("coap+tcp URI scheme not supported for proxy\n"); in verify_proxy_scheme_supported()
737 coap_log_warn("coaps+tcp URI scheme not supported for proxy\n"); in verify_proxy_scheme_supported()
743 coap_log_warn("coap+ws URI scheme not supported for proxy\n"); in verify_proxy_scheme_supported()
749 coap_log_warn("coaps+ws URI scheme not supported for proxy\n"); in verify_proxy_scheme_supported()
[all …]
Dcoap_list.c38 coap_log_warn("cannot create option Proxy-Uri\n"); in coap_insert()
Detsi_iot_01.c274 coap_log_warn("cannot modify resource\n"); in hnd_put_test()
411 coap_log_warn("cannot stat file %s\n", filename); in make_large()
421 coap_log_warn("cannot read file %s\n", filename); in make_large()
Dcoap-client.c678 coap_log_warn("W: unknown content-format '%s'\n",arg); in cmdline_content_type()
886 coap_log_warn("Minimum block size is 16\n"); in cmdline_blocksize()
889 coap_log_warn("Maximum block size is 1024\n"); in cmdline_blocksize()
892 coap_log_warn("Block size %u is not a multiple of 16\n", size); in cmdline_blocksize()
1002 coap_log_warn("invalid hex string in option '%s'\n", src); in convert_hex_string()
1046 coap_log_warn("%s is not a supported CoAP Proxy-Scheme\n", arg); in cmdline_option()
/third_party/libcoap/man/
Dcoap_logging.txt.in19 coap_log_warn,
55 *void coap_log_warn(const char *_format_, _..._);*
181 *Function: coap_log_warn()*
183 The *coap_log_warn*() function provides a wrapper to the *coap_log*() function
/third_party/libcoap/examples/lwip/
Dserver-coap.c183 coap_log_warn("cannot create endpoint for proto %u\n", in server_coap_init()

12