Searched refs:coap_get_option_int (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/ |
D | main.c | 206 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/subsys/net/lib/coap/ |
D | coap.c | 1261 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK1) >= 0; in coap_has_descriptive_block_option() 1263 return coap_get_option_int(cpkt, COAP_OPTION_BLOCK2) >= 0; in coap_has_descriptive_block_option() 1282 opt = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); in coap_block_has_more() 1284 opt = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_block_has_more() 1345 int coap_get_option_int(const struct coap_packet *cpkt, uint16_t code) in coap_get_option_int() function 1363 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); in coap_get_block1_option() 1378 int ret = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_get_block2_option() 1524 block1 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK1); in coap_update_from_block() 1525 block2 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_update_from_block() 1526 size1 = coap_get_option_int(cpkt, COAP_OPTION_SIZE1); in coap_update_from_block() [all …]
|
D | coap_server.c | 613 ret = coap_get_option_int(request, COAP_OPTION_OBSERVE); in coap_resource_parse_observe()
|
D | coap_client.c | 905 block_option = coap_get_option_int(response, COAP_OPTION_BLOCK2); in handle_response()
|
/Zephyr-latest/samples/net/sockets/coap_server/src/ |
D | large.c | 112 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/include/zephyr/net/ |
D | coap.h | 916 int coap_get_option_int(const struct coap_packet *cpkt, uint16_t code);
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_message_handling.c | 2094 block_opt = coap_get_option_int(msg->in.in_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() 2443 observe = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_OBSERVE); in handle_request() 2450 observe = coap_get_option_int(msg->in.in_cpkt, COAP_OPTION_OBSERVE); in handle_request() 2756 has_block2 = coap_get_option_int(&response, COAP_OPTION_BLOCK2) > 0 ? true : false; in lwm2m_udp_receive()
|
/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()
|