Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.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.6.0/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-Core-3.6.0/subsys/net/lib/coap/
Dcoap.c1243 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK1) >= 0; in coap_has_descriptive_block_option()
1245 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK2) >= 0; in coap_has_descriptive_block_option()
1311 int coap_get_option_int(const struct coap_packet *cpkt, uint16_t code) in coap_get_option_int() function
1329 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); in coap_get_block1_option()
1343 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_get_block2_option()
1488 block1 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); in coap_update_from_block()
1489 block2 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_update_from_block()
1490 size1 = coap_get_option_int(cpkt, COAP_OPTION_SIZE1); in coap_update_from_block()
1491 size2 = coap_get_option_int(cpkt, COAP_OPTION_SIZE2); in coap_update_from_block()
1521 block = coap_get_option_int(cpkt, option); in coap_next_block_for_option()
[all …]
Dcoap_client.c732 block_option = coap_get_option_int(response, COAP_OPTION_BLOCK2); in handle_response()
Dcoap_server.c617 ret = coap_get_option_int(request, COAP_OPTION_OBSERVE); in coap_resource_parse_observe()
/Zephyr-Core-3.6.0/include/zephyr/net/
Dcoap.h813 int coap_get_option_int(const struct coap_packet *cpkt, uint16_t code);
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c2045 block_opt = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_BLOCK1); in parse_write_op()
2153 if (coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_BLOCK1) >= 0) { in do_composite_write_op()
2389 observe = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_OBSERVE); in handle_request()
2396 observe = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_OBSERVE); in handle_request()
2694 has_block2 = coap_get_option_int(&response, COAP_OPTION_BLOCK2) > 0 ? true : false; in lwm2m_udp_receive()
/Zephyr-Core-3.6.0/subsys/mgmt/updatehub/
Dupdatehub.c393 blk2_opt = coap_get_option_int(resp, COAP_OPTION_BLOCK2); in install_update_cb_check_blk_num()