Searched refs:firmware_block_ctx (Results 1 – 1 of 1) sorted by relevance
35 static struct coap_block_context firmware_block_ctx; variable243 memcpy(&received_block_ctx, &firmware_block_ctx, in do_firmware_transfer_reply_cb()244 sizeof(firmware_block_ctx)); in do_firmware_transfer_reply_cb()246 ret = coap_update_from_block(check_response, &firmware_block_ctx); in do_firmware_transfer_reply_cb()254 if (firmware_block_ctx.current < received_block_ctx.current) { in do_firmware_transfer_reply_cb()258 memcpy(&firmware_block_ctx, &received_block_ctx, in do_firmware_transfer_reply_cb()259 sizeof(firmware_block_ctx)); in do_firmware_transfer_reply_cb()267 last_block = !coap_next_block(check_response, &firmware_block_ctx); in do_firmware_transfer_reply_cb()274 firmware_block_ctx.total_size, in do_firmware_transfer_reply_cb()275 firmware_block_ctx.current); in do_firmware_transfer_reply_cb()[all …]