Home
last modified time | relevance | path

Searched refs:coap_add_attr (Results 1 – 13 of 13) sorted by relevance

/third_party/libcoap/examples/lwip/
Dserver-coap.c75 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
76 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_coap_resources()
93 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
95 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_coap_resources()
96 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_coap_resources()
104 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
/third_party/libcoap/man/
Dcoap_attribute.txt.in14 coap_add_attr,
22 *coap_attr_t *coap_add_attr(coap_resource_t *_resource_,
56 The *coap_add_attr*() function
79 *coap_add_attr*() function returns a pointer to
107 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
108 coap_add_attr(r, coap_make_str_const("title"),
122 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
123 coap_add_attr(r, coap_make_str_const("title"),
125 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""),
127 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
Dcoap_resource.txt.in278 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
279 coap_add_attr(r, coap_make_str_const("title"),
293 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
294 coap_add_attr(r, coap_make_str_const("title"),
296 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""),
298 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
Dcoap_block.txt.in392 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
393 coap_add_attr(r, coap_make_str_const("title"),
395 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""),
397 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
/third_party/libcoap/examples/contiki/
Dserver.c144 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
145 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_coap_resources()
162 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
164 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_coap_resources()
165 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_coap_resources()
173 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
/third_party/libcoap/examples/
Detsi_iot_01.c453 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(r, coap_make_str_const("rt"), coap_make_str_const("seperate"), 0); in init_resources()
Dcoap-rd.c359 coap_add_attr(resource, in add_source_address()
488 coap_add_attr(r, in hnd_post_rd()
505 coap_add_attr(r, in hnd_post_rd()
558 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("40"), 0); in init_resources()
559 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"core.rd\""), 0); in init_resources()
560 coap_add_attr(r, coap_make_str_const("ins"), coap_make_str_const("\"default\""), 0); in init_resources()
Dcoap-server.c1399 coap_add_attr(resource, in hnd_put()
1564 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"Dynamic\""), 0); in hnd_unknown_put()
1746 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources()
1747 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_resources()
1760 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources()
1761 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"Internal Clock\""), 0); in init_resources()
1762 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_resources()
1763 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_resources()
1778 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources()
1787 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources()
[all …]
/third_party/libcoap/tests/
Dtest_wellknown.c46 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in t_wellknown1()
47 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"some attribute\""), 0); in t_wellknown1()
94 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"one\""), 0); in t_wellknown2()
281 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in t_wkc_tests_create()
282 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"some attribute\""), 0); in t_wkc_tests_create()
288 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"one\""), 0); in t_wkc_tests_create()
/third_party/libcoap/include/coap3/
Dresource.h289 coap_attr_t *coap_add_attr(coap_resource_t *resource,
/third_party/libcoap/
Dlibcoap-3.sym1 coap_add_attr
Dlibcoap-3.map3 coap_add_attr;
/third_party/libcoap/src/
Dresource.c407 coap_add_attr(coap_resource_t *resource, function