Home
last modified time | relevance | path

Searched refs:last_block (Results 1 – 25 of 52) sorted by relevance

123

/Zephyr-latest/samples/net/sockets/coap_server/src/
Dlarge.c110 bool last_block; in large_update_put() local
117 last_block = !GET_MORE(r); in large_update_put()
131 if (!last_block && payload == NULL) { in large_update_put()
153 if (!last_block) { in large_update_put()
190 bool last_block; in large_create_post() local
197 last_block = !GET_MORE(r); in large_create_post()
211 if (!last_block && payload) { in large_create_post()
225 if (!last_block) { in large_create_post()
/Zephyr-latest/samples/net/lwm2m_client/src/
Dtimer.c19 uint8_t *data, uint16_t data_len, bool last_block, in timer_on_off_validate_cb() argument
36 uint8_t *data, uint16_t data_len, bool last_block, in timer_digital_state_cb() argument
Dfirmware_update.c43 uint16_t data_len, bool last_block, in firmware_block_received_cb() argument
47 offset, data_len, last_block); in firmware_block_received_cb()
Dled.c25 uint16_t data_len, bool last_block, size_t total_size, size_t offset) in led_on_off_cb() argument
/Zephyr-latest/tests/net/lib/lwm2m/interop/src/
Dfirmware_update.c41 uint16_t data_len, bool last_block, in firmware_block_received_cb() argument
50 offset, data_len, last_block, crc); in firmware_block_received_cb()
/Zephyr-latest/samples/net/sockets/coap_download/src/
Dmain.c35 bool last_block, void *user_data) in on_coap_response() argument
39 if ((COAP_RESPONSE_CODE_CONTENT == result_code) && last_block) { in on_coap_response()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_rw_opaque.c56 bool *last_block) in get_opaque() argument
94 opaque, last_block); in get_opaque()
Dlwm2m_pull_context.c223 bool last_block; in do_firmware_transfer_reply_cb() local
282 last_block = !coap_next_block(check_response, &context.block_ctx); in do_firmware_transfer_reply_cb()
329 last_block && (payload_len == 0U), in do_firmware_transfer_reply_cb()
339 if (!last_block) { in do_firmware_transfer_reply_cb()
Dlwm2m_obj_firmware.c239 uint16_t data_len, bool last_block, in package_write_cb() argument
273 ret = write_callback(obj_inst_id, res_id, res_inst_id, data, data_len, last_block, in package_write_cb()
278 if (last_block) { in package_write_cb()
303 uint16_t data_len, bool last_block, in package_uri_write_cb() argument
Dlwm2m_obj_swmgmt.c192 uint16_t data_len, bool last_block, in callback_write_not_defined() argument
564 uint16_t data_len, bool last_block, in package_write_cb() argument
579 last_block, total_size); in package_write_cb()
602 if (last_block) { in package_write_cb()
651 uint16_t data_len, bool last_block, in package_uri_write_cb() argument
Dipso_timer.c205 uint16_t data_len, bool last_block, in cumulative_time_post_write_cb() argument
221 uint16_t data_len, bool last_block, in enabled_post_write_cb() argument
242 uint16_t data_len, bool last_block, in trigger_counter_post_write_cb() argument
Dlwm2m_registry.h195 struct lwm2m_opaque_context *opaque, bool *last_block);
Dipso_onoff_switch.c92 uint16_t data_len, bool last_block, in state_post_write_cb() argument
162 uint16_t data_len, bool last_block, in time_post_write_cb() argument
Dlwm2m_message_handling.c165 (*ctx)->last_block = false; in init_block_ctx()
997 bool last_block = true; in lwm2m_write_handler_opaque() local
1003 last_block = msg->in.block_ctx->last_block; in lwm2m_write_handler_opaque()
1035 last_pkt_block && last_block, opaque_ctx.len, in lwm2m_write_handler_opaque()
1049 len, last_pkt_block && last_block, opaque_ctx.len, in lwm2m_write_handler_opaque()
1079 bool last_block = true; in lwm2m_write_handler() local
1110 msg->in.block_ctx->last_block); in lwm2m_write_handler()
1268 res_inst->res_inst_id, write_buf, len, last_block, in lwm2m_write_handler()
1291 res_inst->res_inst_id, data_ptr, len, last_block, in lwm2m_write_handler()
2080 bool last_block = false; in parse_write_op() local
[all …]
Dipso_push_button.c87 uint16_t data_len, bool last_block, in state_post_write_cb() argument
Dlwm2m_object.h445 bool last_block : 1; member
588 bool *last_block);
870 struct lwm2m_opaque_context *opaque, bool *last_block) in engine_get_opaque() argument
873 return in->reader->get_opaque(in, buf, buflen, opaque, last_block); in engine_get_opaque()
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap_client.rst55 The callback contains a flag ``last_block``, which indicates if there is more data to come in the
57 ``last_block`` is set to true, the response is finished and the client is ready for the next request
70 bool last_block, void *user_data)
74 if (last_block) {
/Zephyr-latest/drivers/i2s/
Di2s_ll_stm32.h49 bool last_block; member
Di2s_esp32.c47 bool last_block; member
417 if (stream->last_block) { in i2s_esp32_tx_callback()
736 stream->last_block = false; in i2s_esp32_trigger()
761 stream->last_block = true; in i2s_esp32_trigger()
798 stream->last_block = true; in i2s_esp32_trigger()
910 .last_block = false, \
Di2s_mcux_flexcomm.c39 bool last_block; member
487 if (stream->last_block) { in i2s_mcux_dma_tx_callback()
737 stream->last_block = false; in i2s_mcux_trigger()
747 stream->last_block = true; in i2s_mcux_trigger()
Di2s_sam_ssc.c84 bool last_block; member
290 if (stream->last_block) { in dma_tx_callback()
821 stream->last_block = false; in i2s_sam_trigger()
833 stream->last_block = true; in i2s_sam_trigger()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c776 bool last_block = false; in handle_response() local
908 last_block = response_truncated ? false : !GET_MORE(block_option); in handle_response()
925 last_block = true; in handle_response()
933 last_block = true; in handle_response()
935 last_block = false; in handle_response()
942 if (blockwise_transfer && !last_block) { in handle_response()
950 payload_len, last_block, in handle_response()
965 if (blockwise_transfer && !last_block) { in handle_response()
/Zephyr-latest/include/zephyr/net/
Dcoap_client.h50 bool last_block, void *user_data);
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c258 bool last_block; in process_large_coap_reply() local
298 last_block = coap_next_block(&reply, &blk_ctx); in process_large_coap_reply()
299 if (!last_block) { in process_large_coap_reply()
/Zephyr-latest/tests/net/lib/lwm2m/content_raw_cbor/src/
Dmain.c971 bool last_block; in ZTEST() local
976 &ctx, &last_block); in ZTEST()
984 ret = cbor_reader.get_opaque(&test_in, buf, sizeof(buf), &ctx, &last_block); in ZTEST()
996 bool last_block; in ZTEST() local
999 ret = cbor_reader.get_opaque(&test_in, value, sizeof(value), &ctx, &last_block); in ZTEST()

123