Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c205 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
261 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
276 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
337 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
352 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
367 ret = coap_get_option_int(&msg->cpkt, COAP_OPTION_BLOCK1); in ZTEST_F()
/Zephyr-Core-3.5.0/subsys/net/lib/coap/
Dcoap.c1208 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK1) >= 0; in coap_has_descriptive_block_option()
1217 return coap_packet_remove_option(cpkt, COAP_OPTION_BLOCK1); in coap_remove_descriptive_block_option()
1239 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK1, val); in coap_append_block1_option()
1294 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); in coap_get_block1_option()
1453 block1 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); 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()
/Zephyr-Core-3.5.0/include/zephyr/net/
Dcoap.h59 COAP_OPTION_BLOCK1 = 27, /**< Block1 (RFC 7959) */ enumerator
/Zephyr-Core-3.5.0/samples/net/sockets/coap_server/src/
Dcoap-server.c799 r = coap_get_option_int(request, COAP_OPTION_BLOCK1); in large_update_put()
889 r = coap_get_option_int(request, COAP_OPTION_BLOCK1); in large_create_post()
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c2029 block_opt = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_BLOCK1); in parse_write_op()
2125 if (coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_BLOCK1) >= 0) { in do_composite_write_op()