Searched refs:COAP_OPTION_BLOCK2 (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap.c | 1264 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK2) >= 0; in coap_has_descriptive_block_option() 1273 return coap_packet_remove_option(cpkt, COAP_OPTION_BLOCK2); in coap_remove_descriptive_block_option() 1285 opt = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_block_has_more() 1329 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK2, val); in coap_append_block2_option() 1379 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_get_block2_option() 1526 block2 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_update_from_block() 1554 if (option != COAP_OPTION_BLOCK1 && option != COAP_OPTION_BLOCK2) { in coap_next_block_for_option() 1585 option = coap_packet_is_request(cpkt) ? COAP_OPTION_BLOCK1 : COAP_OPTION_BLOCK2; in coap_next_block()
|
D | coap_client.c | 258 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() 1124 .code = COAP_OPTION_BLOCK2, in coap_client_option_initial_block2()
|
D | coap_link_format.c | 400 if (delta == COAP_OPTION_BLOCK2) { in clear_more_flag()
|
/Zephyr-latest/include/zephyr/net/ |
D | coap.h | 60 COAP_OPTION_BLOCK2 = 23, /**< Block2 (RFC 7959) */ enumerator
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | updatehub.c | 393 blk2_opt = coap_get_option_int(resp, COAP_OPTION_BLOCK2); in install_update_cb_check_blk_num()
|
/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 1093 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/ |
D | lwm2m_message_handling.c | 2764 has_block2 = coap_get_option_int(&response, COAP_OPTION_BLOCK2) > 0 ? true : false; in lwm2m_udp_receive()
|