Home
last modified time | relevance | path

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

/net-tools-3.6.0/libcoap/examples/contiki/
Dserver.c150 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_coap_resources()
151 coap_add_attr(r, (unsigned char *)"title", 5, (unsigned char *)"\"General Info\"", 14, 0); in init_coap_resources()
168 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_coap_resources()
170 coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"\"Ticks\"", 7, 0); in init_coap_resources()
171 coap_add_attr(r, (unsigned char *)"if", 2, (unsigned char *)"\"clock\"", 7, 0); in init_coap_resources()
179 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_coap_resources()
/net-tools-3.6.0/libcoap/tests/
Dtest_wellknown.c42 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in t_wellknown1()
43 coap_add_attr(r, (unsigned char *)"title", 5, (unsigned char *)"\"some attribute\"", 16, 0); in t_wellknown1()
90 coap_add_attr(r, (unsigned char *)"if", 2, (unsigned char *)"\"one\"", 5, 0); in t_wellknown2()
272 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in t_wkc_tests_create()
273 coap_add_attr(r, (unsigned char *)"title", 5, (unsigned char *)"\"some attribute\"", 16, 0); in t_wkc_tests_create()
279 coap_add_attr(r, (unsigned char *)"if", 2, (unsigned char *)"\"one\"", 5, 0); in t_wkc_tests_create()
/net-tools-3.6.0/libcoap/examples/
Detsi_iot_01.c551 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_resources()
552 coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"test", 4, 0); in init_resources()
553 coap_add_attr(r, (unsigned char *)"if", 2, (unsigned char *)"core#b", 6, 0); in init_resources()
555 coap_add_attr(r, (unsigned char *)"obs", 3, NULL, 0, 0); in init_resources()
570 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"41", 2, 0); in init_resources()
571 coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"large", 5, 0); in init_resources()
591 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_resources()
601 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_resources()
608 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_resources()
609 coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"separate", 8, 0); in init_resources()
Dcoap-server.c295 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_resources()
296 coap_add_attr(r, (unsigned char *)"title", 5, (unsigned char *)"\"General Info\"", 14, 0); in init_resources()
307 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_resources()
308 coap_add_attr(r, (unsigned char *)"title", 5, (unsigned char *)"\"Internal Clock\"", 16, 0); in init_resources()
309 coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"\"Ticks\"", 7, 0); in init_resources()
311 coap_add_attr(r, (unsigned char *)"if", 2, (unsigned char *)"\"clock\"", 7, 0); in init_resources()
320 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1, 0); in init_resources()
Dcoap-rd.c345 coap_add_attr(resource, in add_source_address()
478 coap_add_attr(r, in hnd_post_rd()
494 coap_add_attr(r, in hnd_post_rd()
547 coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"40", 2, 0); in init_resources()
548 coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"\"core.rd\"", 9, 0); in init_resources()
549 coap_add_attr(r, (unsigned char *)"ins", 2, (unsigned char *)"\"default\"", 9, 0); in init_resources()
/net-tools-3.6.0/libcoap/
Dlibcoap-1.sym1 coap_add_attr
Dlibcoap-1.map3 coap_add_attr;
/net-tools-3.6.0/libcoap/include/coap/
Dresource.h168 coap_attr_t *coap_add_attr(coap_resource_t *resource,
/net-tools-3.6.0/libcoap/src/
Dresource.c314 coap_add_attr(coap_resource_t *resource, function