Home
last modified time | relevance | path

Searched refs:coap_make_str_const (Results 1 – 23 of 23) sorted by relevance

/third_party/libcoap/examples/contiki/
Dserver.c86 && coap_string_equal(query, coap_make_str_const("ticks"))) { in hnd_get_time()
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()
126 r = coap_resource_init(coap_make_str_const("time"), 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()
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()
145 r = coap_resource_init(coap_make_str_const("async"), 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/
Dserver-coap.c64 && coap_string_equal(query, coap_make_str_const("ticks"))) { in hnd_get_time()
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()
86 r = coap_resource_init(coap_make_str_const("time"), 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()
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()
105 r = coap_resource_init(coap_make_str_const("async"), 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/examples/riot/examples_libcoap_server/
Dserver-coap.c68 && coap_string_equal(query, coap_make_str_const("ticks"))) { in hnd_get_time()
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()
90 r = coap_resource_init(coap_make_str_const("time"), 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()
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()
111 r = coap_resource_init(coap_make_str_const("async"), 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/
Detsi_iot_01.c447 r = coap_resource_init(coap_make_str_const("test"), 0); in init_resources()
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()
470 r = coap_resource_init(coap_make_str_const("large"), 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()
491 r = coap_resource_init(coap_make_str_const("seg1/seg2/seg3"), 0); in init_resources()
494 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources()
[all …]
Doscore-interop-server.c284 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()
286 coap_make_str_const("\"General Info\""), 0); in init_resources()
289 r = coap_resource_init(coap_make_str_const("oscore/hello/coap"), in init_resources()
294 r = coap_resource_init(coap_make_str_const("oscore/hello/1"), in init_resources()
299 r = coap_resource_init(coap_make_str_const("oscore/hello/2"), in init_resources()
304 r = coap_resource_init(coap_make_str_const("oscore/hello/3"), in init_resources()
309 r = coap_resource_init(coap_make_str_const("oscore/hello/6"), in init_resources()
314 r = coap_resource_init(coap_make_str_const("oscore/hello/7"), in init_resources()
319 r = coap_resource_init(coap_make_str_const("oscore/observe1"), in init_resources()
[all …]
Dcoap-rd.c342 coap_make_str_const("A"), in add_source_address()
472 coap_make_str_const("ins"), in hnd_post_rd()
489 coap_make_str_const("rt"), in hnd_post_rd()
538 r = coap_resource_init(coap_make_str_const(RD_ROOT_STR), 0); in init_resources()
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()
Dcoap-server.c291 coap_str_const_t *ticks = coap_make_str_const("ticks"); in hnd_get_fetch_time()
1353 coap_make_str_const("ct"), in hnd_put_post()
1354 coap_make_str_const((char *)buf), 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()
1759 r = coap_resource_init(coap_make_str_const("time"), resource_flags); 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()
[all …]
/third_party/libcoap/tests/
Dtest_wellknown.c48 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()
94 r = coap_resource_init(coap_make_str_const("abcd"), 0); in t_wellknown2()
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/man/
Dcoap_attribute.txt.in138 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
139 coap_add_attr(r, coap_make_str_const("title"),
140 coap_make_str_const("\"General Info\""), 0);
145 r = coap_resource_init(coap_make_str_const("time"),
153 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
154 coap_add_attr(r, coap_make_str_const("title"),
155 coap_make_str_const("\"Internal Clock\""), 0);
156 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""),
158 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
Dcoap_string.txt.in23 coap_make_str_const,
40 *coap_str_const_t *coap_make_str_const(const char *_string_);*
130 *Function: coap_make_str_const()*
132 The *coap_make_str_const*() function is used to take some read-only text and
135 call *coap_make_str_const*() twice.
183 *coap_make_str_const*() returns a pointer to a structure in
Dcoap_resource.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"),
394 coap_make_str_const("\"General Info\""), 0);
399 r = coap_resource_init(coap_make_str_const("time"),
407 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
408 coap_add_attr(r, coap_make_str_const("title"),
409 coap_make_str_const("\"Internal Clock\""), 0);
410 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""),
412 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
Dcoap_block.txt.in462 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) {
522 r = coap_resource_init(coap_make_str_const("time"),
528 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0);
529 coap_add_attr(r, coap_make_str_const("title"),
530 coap_make_str_const("\"Internal Clock\""), 0);
531 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""),
533 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
Dcoap_persist.txt.in231 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) {
279 if (coap_string_equal(uri_path, coap_make_str_const("time"))) {
299 r = coap_resource_init(coap_make_str_const("time"),
Dcoap_observe.txt.in186 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) {
234 if (coap_string_equal(uri_path, coap_make_str_const("time"))) {
254 r = coap_resource_init(coap_make_str_const("time"),
DMakefile.am196 @echo ".so man3/coap_string.3" > coap_make_str_const.3
Dcoap_handler.txt.in299 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) {
Dcoap_pdu_setup.txt.in682 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) {
/third_party/libcoap/src/oscore/
Doscore_context.c399 coap_make_str_const("Key"), in oscore_update_ctx()
409 coap_make_str_const("Key"), in oscore_update_ctx()
418 coap_make_str_const("IV"), in oscore_update_ctx()
471 coap_make_str_const("Key"), in oscore_duplicate_ctx()
479 coap_make_str_const("IV"), in oscore_duplicate_ctx()
549 coap_make_str_const("BAD"), in oscore_derive_ctx()
554 coap_make_str_const("Key"), in oscore_derive_ctx()
562 coap_make_str_const("IV"), in oscore_derive_ctx()
630 coap_make_str_const("BAD"), in oscore_add_recipient()
635 coap_make_str_const("Key"), in oscore_add_recipient()
/third_party/libcoap/include/coap3/
Dcoap_str.h178 coap_str_const_t *coap_make_str_const(const char *string);
/third_party/libcoap/src/
Dcoap_str.c66 coap_make_str_const(const char *string) { in coap_make_str_const() function
Dcoap_oscore.c1868 if (coap_string_equal(coap_make_str_const("recipient_id"), &keyword)) { in coap_parse_oscore_conf_mem()
/third_party/libcoap/
Dlibcoap-3.map124 coap_make_str_const;
Dlibcoap-3.sym121 coap_make_str_const