/third_party/libcoap/examples/contiki/ |
H A D | server.c | 119 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 120 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_coap_resources() 137 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 138 /* coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"Internal Clock\""), 0); */ in init_coap_resources() 139 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_coap_resources() 140 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_coap_resources() 148 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
|
/third_party/libcoap/examples/lwip/ |
H A D | server-coap.c | 79 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 80 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_coap_resources() 97 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 98 /* coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"Internal Clock\""), 0); */ in init_coap_resources() 99 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_coap_resources() 100 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_coap_resources() 108 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
|
/third_party/libcoap/tests/ |
H A D | test_wellknown.c | 48 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in t_wellknown1() 49 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"some attribute\""), 0); in t_wellknown1() 96 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"one\""), 0); in t_wellknown2() 219 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in t_wkc_tests_create() 220 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"some attribute\""), 0); in t_wkc_tests_create() 226 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"one\""), 0); in t_wkc_tests_create()
|
/third_party/libcoap/examples/riot/examples_libcoap_server/ |
H A D | server-coap.c | 83 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 84 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_coap_resources() 102 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 103 /* coap_add_attr(r, coap_make_str_const("title"), in init_coap_resources() 105 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_coap_resources() 106 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_coap_resources() 114 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
|
/third_party/libcoap/examples/ |
H A D | etsi_iot_01.c | 453 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 454 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("test"), 0); in init_resources() 455 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("core#b"), 0); in init_resources() 457 coap_add_attr(r, coap_make_str_const("obs"), NULL, 0); in init_resources() 473 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("41"), 0); in init_resources() 474 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("large"), 0); in init_resources() 494 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 504 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 511 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 512 coap_add_attr( in init_resources() [all...] |
H A D | coap-rd.c | 341 coap_add_attr(resource, in add_source_address() 471 coap_add_attr(r, in hnd_post_rd() 488 coap_add_attr(r, in hnd_post_rd() 542 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("40"), 0); in init_resources() 543 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"core.rd\""), 0); in init_resources() 544 coap_add_attr(r, coap_make_str_const("ins"), coap_make_str_const("\"default\""), 0); in init_resources()
|
H A D | coap-server.c | 1346 * as coap_add_attr() will copy the passed string. */ in hnd_put_post() 1352 coap_add_attr(resource, in hnd_put_post() 1540 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"Dynamic\""), 0); in hnd_put_post_unknown() 1752 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 1753 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_resources() 1766 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 1767 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"Internal Clock\""), 0); in init_resources() 1768 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_resources() 1769 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_resources() 1789 coap_add_attr( in init_resources() [all...] |
H A D | oscore-interop-server.c | 284 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 285 coap_add_attr(r, coap_make_str_const("title"), in init_resources()
|
/third_party/libcoap/include/coap3/ |
H A D | coap_resource.h | 423 coap_attr_t *coap_add_attr(coap_resource_t *resource,
|
/third_party/libcoap/src/ |
H A D | coap_resource.c | 386 coap_add_attr(coap_resource_t *resource, function 415 coap_log_debug("coap_add_attr: no memory left\n");
|