Home
last modified time | relevance | path

Searched refs:coap_encode_var_safe (Results 1 - 16 of 16) sorted by relevance

/third_party/libcoap/include/coap3/
H A Dcoap_encode.h84 unsigned int coap_encode_var_safe(uint8_t *buf,
108 * @deprecated Use coap_encode_var_safe() instead.
119 * coap_encode_var_safe(buf, sizeof(buf), 0xfff);
124 return (int)coap_encode_var_safe(buf, sizeof(value), value); in coap_encode_var_bytes()
/third_party/libcoap/tests/
H A 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()
H A 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(bu in t_encode_pdu17()
[all...]
/third_party/libcoap/src/
H A 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(bu in coap_add_data_large_internal()
[all...]
H A Dcoap_encode.c47 coap_encode_var_safe(uint8_t *buf, size_t length, unsigned int val) { in coap_encode_var_safe() function
H A 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()
H A 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),
H A Dcoap_uri.c340 coap_encode_var_safe(buf, 4, in coap_uri_into_options()
H A 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()
H A 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/
H A 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/
H A 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/
H A 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()
H A 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()
H A 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()
H A Dcoap-server.c371 coap_encode_var_safe(buf, sizeof(buf), in hnd_put_time()

Completed in 27 milliseconds