Home
last modified time | relevance | path

Searched refs:COAP_OPTION_BLOCK1 (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c206 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
262 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
277 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
338 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
353 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
368 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dlarge.c112 r = coap_get_option_int(request, COAP_OPTION_BLOCK1); in large_update_put()
192 r = coap_get_option_int(request, COAP_OPTION_BLOCK1); in large_create_post()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c1261 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK1) >= 0; in coap_has_descriptive_block_option()
1270 return coap_packet_remove_option(cpkt, COAP_OPTION_BLOCK1); in coap_remove_descriptive_block_option()
1282 opt = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); in coap_block_has_more()
1308 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK1, val); in coap_append_block1_option()
1363 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); in coap_get_block1_option()
1524 block1 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); 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()
/Zephyr-latest/include/zephyr/net/
Dcoap.h61 COAP_OPTION_BLOCK1 = 27, /**< Block1 (RFC 7959) */ enumerator
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c2094 block_opt = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_BLOCK1); in parse_write_op()
2138 (void)coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_BLOCK1, in parse_write_op()
2204 if (coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_BLOCK1) >= 0) { in do_composite_write_op()