Home
last modified time | relevance | path

Searched refs:block_number (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dblob_srv.c591 uint16_t block_number, chunk_size; in handle_block_start() local
594 block_number = net_buf_simple_pull_le16(buf); in handle_block_start()
606 if (block_number != srv->block.number || in handle_block_start()
616 if (block_number >= block_count_get(srv)) { in handle_block_start()
633 srv->state.xfer.size, srv->state.xfer.block_size_log, block_number); in handle_block_start()
634 srv->block.number = block_number; in handle_block_start()
637 srv->block.offset = block_number * (1UL << srv->state.xfer.block_size_log); in handle_block_start()
640 !atomic_test_bit(srv->state.blocks, block_number)) { in handle_block_start()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dcoap.h666 int coap_get_block1_option(const struct coap_packet *cpkt, bool *has_more, uint8_t *block_number);
/Zephyr-Core-3.4.0/subsys/net/lib/coap/
Dcoap.c1063 int coap_get_block1_option(const struct coap_packet *cpkt, bool *has_more, uint8_t *block_number) in coap_get_block1_option() argument
1072 *block_number = GET_NUM(ret); in coap_get_block1_option()