Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/net/lib/coap/
Dcoap.c1210 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK2) >= 0; in coap_has_descriptive_block_option()
1219 return coap_packet_remove_option(cpkt, COAP_OPTION_BLOCK2); in coap_remove_descriptive_block_option()
1259 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK2, val); in coap_append_block2_option()
1308 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_get_block2_option()
1454 block2 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_update_from_block()
1482 if (option != COAP_OPTION_BLOCK1 && option != COAP_OPTION_BLOCK2) { in coap_next_block_for_option()
1513 option = is_request(cpkt) ? COAP_OPTION_BLOCK1 : COAP_OPTION_BLOCK2; in coap_next_block()
Dcoap_link_format.c416 if (delta == COAP_OPTION_BLOCK2) { in clear_more_flag()
Dcoap_client.c655 block_option = coap_get_option_int(response, COAP_OPTION_BLOCK2); in handle_response()
/Zephyr-Core-3.5.0/include/zephyr/net/
Dcoap.h58 COAP_OPTION_BLOCK2 = 23, /**< Block2 (RFC 7959) */ enumerator
/Zephyr-Core-3.5.0/subsys/mgmt/updatehub/
Dupdatehub.c393 blk2_opt = coap_get_option_int(resp, COAP_OPTION_BLOCK2); in install_update_cb_check_blk_num()
/Zephyr-Core-3.5.0/tests/net/lib/coap/src/
Dmain.c1072 r = coap_append_option_int(&cpkt, COAP_OPTION_BLOCK2, block_option); in ZTEST()
1098 r = coap_find_options(&cpkt, COAP_OPTION_BLOCK2, &opt, 1); in ZTEST()
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c2657 has_block2 = coap_get_option_int(&response, COAP_OPTION_BLOCK2) > 0 ? true : false; in lwm2m_udp_receive()