Home
last modified time | relevance | path

Searched refs:coap_log (Results 1 – 12 of 12) sorted by relevance

/net-tools-latest/libcoap/include/coap/
Ddebug.h56 #ifndef coap_log
57 #define coap_log(...) coap_log_impl(__VA_ARGS__) macro
63 #define info(...) coap_log(LOG_INFO, __VA_ARGS__)
64 #define warn(...) coap_log(LOG_WARNING, __VA_ARGS__)
65 #define debug(...) coap_log(LOG_DEBUG, __VA_ARGS__)
/net-tools-latest/libcoap/src/
Dcoap_io.c126 coap_log(LOG_WARNING, "coap_new_endpoint: socket"); in coap_new_endpoint()
131 coap_log(LOG_WARNING, "coap_new_endpoint: setsockopt SO_REUSEADDR"); in coap_new_endpoint()
137 coap_log(LOG_ALERT, "coap_new_endpoint: setsockopt IP_PKTINFO\n"); in coap_new_endpoint()
142 coap_log(LOG_ALERT, "coap_new_endpoint: setsockopt IPV6_RECVPKTINFO\n"); in coap_new_endpoint()
145 coap_log(LOG_ALERT, "coap_new_endpoint: setsockopt IPV6_PKTINFO\n"); in coap_new_endpoint()
149 coap_log(LOG_ALERT, "coap_new_endpoint: unsupported sa_family\n"); in coap_new_endpoint()
154 coap_log(LOG_WARNING, "coap_new_endpoint: bind"); in coap_new_endpoint()
162 coap_log(LOG_WARNING, "coap_new_endpoint: malloc"); in coap_new_endpoint()
173 coap_log(LOG_WARNING, "coap_new_endpoint: cannot determine local address"); in coap_new_endpoint()
325 coap_log(LOG_WARNING, "protocol not supported\n"); in coap_network_send()
[all …]
Dstr.c21 coap_log(LOG_CRIT, "coap_new_string: malloc\n"); in coap_new_string()
Dasync.c43 coap_log(LOG_CRIT, "coap_register_async: insufficient memory\n"); in coap_register_async()
Dnet.c280 coap_log(LOG_WARNING, "coap_new_node: malloc\n"); in coap_new_node()
346 coap_log(LOG_EMERG, "no listen address specified\n"); in coap_new_context()
364 coap_log(LOG_EMERG, "coap_init: malloc:\n"); in coap_new_context()
577 coap_log(LOG_CRIT, "coap_send_impl: %s\n", strerror(errno)); in coap_send_impl()
1441 coap_log(LOG_DEBUG, "create new subscription\n"); in handle_request()
1457 coap_log(LOG_DEBUG, "removed observer"); in handle_request()
1578 coap_log(LOG_ALERT, "got RST for message %u\n", ntohs(rcvd->pdu->hdr->id));
1580 coap_log(LOG_ALERT, "got RST for message %u\n", uip_ntohs(rcvd->pdu->hdr->id));
Dpdu.c130 coap_log(LOG_CRIT, "coap_new_pdu: cannot allocate memory for new PDU\n"); in coap_new_pdu()
/net-tools-latest/libcoap/examples/contiki/
Dserver.c82 coap_log(LOG_CRIT, "cannot create CoAP context\r\n"); in init_coap_server()
186 coap_log(LOG_CRIT, "cannot create resource\n"); in init_coap_resources()
201 coap_log(LOG_EMERG, "cannot create context\n"); in PROCESS_THREAD()
208 coap_log(LOG_EMERG, "cannot create context\n"); in PROCESS_THREAD()
Dcoap-observer.c92 coap_log(LOG_CRIT, "cannot create CoAP context\r\n"); in init_coap()
121 coap_log(LOG_EMERG, "cannot create context\n"); in PROCESS_THREAD()
/net-tools-latest/libcoap/examples/
Dcoap_list.c24 coap_log(LOG_WARNING, "cannot create option Proxy-Uri\n"); in coap_insert()
Detsi_iot_01.c262 coap_log(LOG_CRIT, "cannot allocate new resource under /test"); in hnd_post_test()
539 coap_log(LOG_CRIT, "cannot allocate resource /test"); in init_resources()
565 coap_log(LOG_CRIT, "cannot allocate resource /large\n"); in init_resources()
582 coap_log(LOG_CRIT, "cannot allocate resource /seg1/seg2/seg3\n"); in init_resources()
Dclient.c197 coap_log(LOG_CRIT, "cannot add token"); in clear_obs()
218 coap_log(LOG_CRIT, "cannot add option Observe: %u", COAP_OBSERVE_CANCEL); in clear_obs()
588 coap_log(LOG_DEBUG, "new_option_node: malloc\n"); in new_option_node()
1163 coap_log(LOG_EMERG, "cannot create context\n"); in main()
/net-tools-latest/
Dcoap-client.c631 coap_log(LOG_DEBUG, "new_option_node: malloc\n"); in new_option_node()
640 coap_log(LOG_WARNING, "cannot create option Proxy-Uri\n"); in coap_insert()
1514 coap_log(LOG_CRIT, "coap_send: sendto\n"); in my_coap_network_send()