Home
last modified time | relevance | path

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

/third_party/libcoap/tests/
Dtest_pdu.c891 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
896 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
901 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
906 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
911 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
916 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
953 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17()
958 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17()
963 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17()
968 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17()
[all …]
Dtest_encode.c118 result = coap_encode_var_safe(buf, sizeof(buf), 0x00); in t_encode1()
131 result = coap_encode_var_safe(buf, sizeof(buf), 0x01); in t_encode2()
157 result = coap_encode_var_safe(buf, 2, 0x01020304); in t_encode4()
/third_party/libcoap/include/coap3/
Dcoap_encode.h84 unsigned int coap_encode_var_safe(uint8_t *buf,
124 return (int)coap_encode_var_safe(buf, sizeof(value), value); in coap_encode_var_bytes()
/third_party/libcoap/src/
Dcoap_block.c193 coap_update_option(pdu, number, coap_encode_var_safe(buf, sizeof(buf), in coap_write_block_opt()
224 coap_update_option(pdu, number, coap_encode_var_safe(buf, sizeof(buf), in coap_write_block_b_opt()
310 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_blocked_response()
317 coap_encode_var_safe(buf, sizeof(buf), maxage), buf); in coap_add_data_blocked_response()
460 coap_encode_var_safe(buf, sizeof(buf), in coap_cancel_observe()
833 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
839 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
877 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
898 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
942 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
[all …]
Dcoap_encode.c47 coap_encode_var_safe(uint8_t *buf, size_t length, unsigned int val) { in coap_encode_var_safe() function
Dcoap_net.c756 coap_encode_var_safe(buf, sizeof(buf), in coap_option_check_critical()
1172 coap_encode_var_safe(buf, sizeof(buf), in coap_send()
1208 coap_encode_var_safe(buf, sizeof(buf), in coap_send()
1222 coap_encode_var_safe(buf, sizeof(buf), in coap_send()
1232 coap_encode_var_safe(buf, sizeof(buf), in coap_send()
1246 coap_encode_var_safe(buf, sizeof(buf), in coap_send()
1267 coap_encode_var_safe(buf, sizeof(buf), in coap_send()
2533 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_wellknown()
3136 coap_encode_var_safe(buf, sizeof(buf), in handle_request()
Dcoap_resource.c1068 coap_encode_var_safe(buf, sizeof(buf),
1075 coap_encode_var_safe(buf, sizeof(buf),
1086 coap_encode_var_safe(buf, sizeof(buf),
Dcoap_session.c834 coap_encode_var_safe(buf, sizeof(buf), in coap_session_send_csm()
837 coap_encode_var_safe(buf, sizeof(buf), in coap_session_send_csm()
842 coap_encode_var_safe(buf, sizeof(buf), in coap_session_send_csm()
Dcoap_uri.c340 coap_encode_var_safe(buf, 4, in coap_uri_into_options()
Dcoap_oscore.c177 coap_encode_var_safe(option_value_buffer, in coap_rebuild_pdu_for_proxy()
736 coap_encode_var_safe(buf, sizeof(buf), 0), in build_and_send_error_pdu()
/third_party/libcoap/examples/lwip/
Dserver-coap.c49 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_time()
54 coap_encode_var_safe(buf, sizeof(buf), 0x01), buf); in hnd_get_time()
/third_party/libcoap/examples/riot/examples_libcoap_server/
Dserver-coap.c53 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_time()
59 coap_encode_var_safe(buf, sizeof(buf), 0x01), buf); in hnd_get_time()
/third_party/libcoap/examples/
Detsi_iot_01.c105 coap_encode_var_safe(buf, sizeof(buf),
110 coap_encode_var_safe(buf, sizeof(buf), 0x2ffff), buf);
311 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_query()
Dcoap-rd.c150 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_resource()
267 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_rd()
273 coap_encode_var_safe(buf, sizeof(buf), 0x2ffff), buf); in hnd_get_rd()
Dcoap-client.c683 node = coap_new_optlist(key, coap_encode_var_safe(buf, sizeof(buf), value), buf); in cmdline_content_type()
699 …node = coap_new_optlist(COAP_OPTION_HOP_LIMIT, coap_encode_var_safe(buf, sizeof(buf), value), buf); in cmdline_hop_limit()
926 opt_length = coap_encode_var_safe(buf, sizeof(buf), in set_blocksize()
940 coap_encode_var_safe(buf, sizeof(buf), in cmdline_subscribe()
Dcoap-server.c371 coap_encode_var_safe(buf, sizeof(buf), in hnd_put_time()
/third_party/libcoap/man/
Dcoap_pdu_setup.txt.in23 coap_encode_var_safe,
66 *unsigned int coap_encode_var_safe(uint8_t *_buffer_, size_t _size_,
364 and hence be illegal. This is done by using *coap_encode_var_safe*() or
398 and hence be illegal. This is done by using *coap_encode_var_safe*() or
401 *Function: coap_encode_var_safe()*
403 The *coap_encode_var_safe*() function encodes _value_ into _buffer_ which has
544 *coap_encode_var_safe*() returns either the length of bytes
629 coap_encode_var_safe(buf, sizeof(buf),
DMakefile.am156 @echo ".so man3/coap_pdu_setup.3" > coap_encode_var_safe.3
Dcoap_deprecated.txt.in96 *coap_encode_var_safe*(3).
Dcoap_resource.txt.in325 coap_encode_var_safe(buf, sizeof(buf),
331 coap_encode_var_safe(buf, sizeof(buf), 0x2ffff), buf);
Dcoap_block.txt.in377 coap_encode_var_safe(buf, sizeof(buf),
/third_party/libcoap/
Dlibcoap-3.map86 coap_encode_var_safe;
Dlibcoap-3.sym82 coap_encode_var_safe