Home
last modified time | relevance | path

Searched refs:COAP_OPTION_BLOCK2 (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dcoap_client.h190 .code = COAP_OPTION_BLOCK2, in coap_client_option_initial_block2()
Dcoap.h60 COAP_OPTION_BLOCK2 = 23, /**< Block2 (RFC 7959) */ enumerator
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c1263 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK2) >= 0; in coap_has_descriptive_block_option()
1272 return coap_packet_remove_option(cpkt, COAP_OPTION_BLOCK2); in coap_remove_descriptive_block_option()
1284 opt = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_block_has_more()
1328 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK2, val); in coap_append_block2_option()
1378 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_get_block2_option()
1525 block2 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_update_from_block()
1553 if (option != COAP_OPTION_BLOCK1 && option != COAP_OPTION_BLOCK2) { in coap_next_block_for_option()
1584 option = coap_packet_is_request(cpkt) ? COAP_OPTION_BLOCK1 : COAP_OPTION_BLOCK2; in coap_next_block()
Dcoap_client.c258 if (COAP_OPTION_BLOCK2 == req->options[i].code && block2) { in coap_client_init_request()
905 block_option = coap_get_option_int(response, COAP_OPTION_BLOCK2); in handle_response()
Dcoap_link_format.c416 if (delta == COAP_OPTION_BLOCK2) { in clear_more_flag()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c393 blk2_opt = coap_get_option_int(resp, COAP_OPTION_BLOCK2); in install_update_cb_check_blk_num()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c1093 r = coap_append_option_int(&cpkt, COAP_OPTION_BLOCK2, block_option); in ZTEST()
1119 r = coap_find_options(&cpkt, COAP_OPTION_BLOCK2, &opt, 1); in ZTEST()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c2756 has_block2 = coap_get_option_int(&response, COAP_OPTION_BLOCK2) > 0 ? true : false; in lwm2m_udp_receive()