Home
last modified time | relevance | path

Searched full:transfer (Results 1 – 25 of 768) sorted by relevance

12345678910>>...31

/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dblob_srv.rst3 BLOB Transfer Server
6 The Binary Large Object (BLOB) Transfer Server model implements reliable receiving of large binary
13 As described in :ref:`bluetooth_mesh_blob`, the binary objects transferred by the BLOB Transfer
14 models are divided into blocks, which are divided into chunks. As the transfer is controlled by the
15 BLOB Transfer Client model, the BLOB Transfer Server must allow blocks to come in any order. The
19 The BLOB Transfer Server keeps track of the received blocks and chunks, and will process each block
20 and chunk only once. The BLOB Transfer Server also ensures that any missing chunks are resent by the
21 BLOB Transfer Client.
26 The BLOB Transfer Server is instantiated on an element with a set of event handler callbacks:
42 A BLOB Transfer Server is capable of receiving a single BLOB transfer at a time. Before the BLOB
[all …]
Dblob.rst3 BLOB Transfer models
6 The Binary Large Object (BLOB) Transfer models implement the Bluetooth Mesh Binary Large Object
7 Transfer Model specification version 1.0 and provide functionality for sending large binary objects
9 transport method for the :ref:`bluetooth_mesh_dfu`, but may be used for other object transfer
12 The BLOB Transfer models support transfers of continuous binary objects of up to 4 GB (2 \ :sup:`32`
13 bytes). The BLOB transfer protocol has built-in recovery procedures for packet losses, and sets up
14 checkpoints to ensure that all targets have received all the data before moving on. Data transfer
17 BLOB transfers are constrained by the transfer speed and reliability of the underlying mesh network.
19 BLOB to be transferred in 10-15 minutes. However, network conditions, transfer capabilities and
21 parameters of the transfer according to the application and network configuration, as well as
[all …]
Dblob_cli.rst3 BLOB Transfer Client
6 The Binary Large Object (BLOB) Transfer Client is the sender of the BLOB transfer. It supports
7 sending BLOBs of any size to any number of Target nodes, in both Push BLOB Transfer Mode and Pull
8 BLOB Transfer Mode.
16 The BLOB Transfer Client is instantiated on an element with a set of event handler callbacks:
32 Transfer context
35 Both the transfer capabilities retrieval procedure and the BLOB transfer uses an instance of a
36 :c:struct:`bt_mesh_blob_cli_inputs` to determine how to perform the transfer. The BLOB Transfer Cli…
57 Note that all BLOB Transfer Servers in the transfer must be bound to the chosen application key.
64 not :c:macro:`BT_MESH_ADDR_UNASSIGNED`, the messages in the transfer will be sent to the group
[all …]
Ddfu_srv.rst10 Together with the extended BLOB Transfer Server model, the Firmware Update Server model implements
30 The Firmware Update Server model uses a BLOB Transfer Server model on the same element to transfer
31 the binary image. The interaction between the Firmware Update Server, BLOB Transfer Server and
36 :alt: Bluetooth Mesh Firmware Update Server transfer
38 Bluetooth Mesh Firmware Update Server transfer
40 Transfer check
43 The transfer check is an optional pre-transfer check the application can perform on incoming
44 firmware image metadata. The Firmware Update Server performs the transfer check by calling the
47 The result of the transfer check is a pass/fail status return and the expected
57 If the transfer will cause the device to change its Composition Data or become
[all …]
Dblob_flash.rst13 The BLOB Flash Reader interacts with the BLOB Transfer Client to read BLOB data directly from flash.
15 BLOB Transfer Client. Each BLOB Flash Reader only supports one transfer at the time.
21 The BLOB Flash Writer interacts with the BLOB Transfer Server to write BLOB data directly to flash.
23 BLOB Transfer Server. Each BLOB Flash Writer only supports one transfer at the time, and requires a
24 block size that is a multiple of the flash page size. If a transfer is started with a block size
25 lower than the flash page size, the transfer will be rejected.
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob_srv.h18 * @defgroup bt_mesh_blob_srv Bluetooth Mesh BLOB Transfer Server model API
27 * @brief Max number of blocks in a single transfer.
39 * @brief BLOB Transfer Server model composition data entry.
47 /** @brief BLOB Transfer Server model event handlers.
52 /** @brief Transfer start callback.
54 * Called when the transfer has started with the prepared BLOB ID.
56 * @param srv BLOB Transfer Server instance.
58 * entire transfer will be sent from the same source
60 * @param xfer Transfer parameters.
63 * transfer.
[all …]
Dblob_cli.h20 * @defgroup bt_mesh_blob_cli Bluetooth Mesh BLOB Transfer Client model API
29 * @brief BLOB Transfer Client model Composition Data entry.
37 /** Target node's Pull mode (Pull BLOB Transfer Mode) context used
48 /** BLOB Transfer Client Target node. */
61 /** BLOB transfer status, see @ref bt_mesh_blob_status. */
70 /** BLOB transfer information.
78 /** BLOB transfer status. */
81 /** BLOB transfer mode. */
84 /** BLOB transfer phase. */
103 /** BLOB Transfer Client transfer inputs. */
[all …]
Ddfu_srv.h55 /** @brief Transfer check callback.
57 * The transfer check can be used to validate the incoming transfer
61 * the effect of the transfer would be.
68 * transfer and as a separate procedure.
85 /** @brief Transfer start callback.
87 * Called when the Firmware Update Server is ready to start a new DFU transfer.
89 * during the DFU transfer.
95 * transfer.
97 * image, and there's no need to transfer it again. The Firmware Update model
98 * will skip the transfer phase, and mark the image as verified.
[all …]
Dblob.h28 /** BLOB transfer mode. */
30 /** No valid transfer mode. */
32 /** Push mode (Push BLOB Transfer Mode). */
34 /** Pull mode (Pull BLOB Transfer Mode). */
40 /** Transfer phase. */
42 /** The BLOB Transfer Server is awaiting configuration. */
44 /** The BLOB Transfer Server is ready to receive a BLOB transfer. */
46 /** The BLOB Transfer Server is waiting for the next block of data. */
48 /** The BLOB Transfer Server is waiting for the next chunk of data. */
52 /** The BLOB transfer is paused. */
[all …]
Ddfu_cli.h73 /** Effect of transfer. */
81 /** Phase of the current DFU transfer. */
85 /** BLOB ID used in the transfer. */
87 /** Image index to transfer. */
89 /** TTL used in the transfer. */
103 * configured transfer timeout, the Target node is dropped.
131 /** @brief BLOB transfer is suspended.
133 * Called when the BLOB transfer is suspended due to response timeout from all Target nodes.
141 * Called when the DFU transfer ends, either because all Target nodes were
142 * lost or because the transfer was completed successfully.
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_imx.c46 struct i2c_master_transfer transfer; member
55 struct i2c_master_transfer *transfer = &data->transfer; in i2c_imx_write() local
57 transfer->isBusy = true; in i2c_imx_write()
64 transfer->currentDir = i2cDirectionTransmit; in i2c_imx_write()
66 transfer->txBuff = txBuffer; in i2c_imx_write()
67 transfer->txSize = txSize; in i2c_imx_write()
69 I2C_WriteByte(base, *transfer->txBuff); in i2c_imx_write()
70 transfer->txBuff++; in i2c_imx_write()
71 transfer->txSize--; in i2c_imx_write()
73 /* Enable I2C interrupt, subsequent data transfer will be handled in i2c_imx_write()
[all …]
Di2c_lpc11u6x.c88 data->transfer.msgs = msgs; in lpc11u6x_i2c_transfer()
89 data->transfer.curr_buf = msgs->buf; in lpc11u6x_i2c_transfer()
90 data->transfer.curr_len = msgs->len; in lpc11u6x_i2c_transfer()
91 data->transfer.nr_msgs = num_msgs; in lpc11u6x_i2c_transfer()
92 data->transfer.addr = addr; in lpc11u6x_i2c_transfer()
99 data->transfer.status = LPC11U6X_I2C_STATUS_BUSY; in lpc11u6x_i2c_transfer()
104 if (data->transfer.status != LPC11U6X_I2C_STATUS_OK) { in lpc11u6x_i2c_transfer()
107 data->transfer.status = LPC11U6X_I2C_STATUS_INACTIVE; in lpc11u6x_i2c_transfer()
177 struct lpc11u6x_i2c_current_transfer *transfer = &data->transfer; in lpc11u6x_i2c_isr() local
186 i2c->dat = (transfer->addr << 1) | in lpc11u6x_i2c_isr()
[all …]
Di2c_mcux.c110 /* Async transfer */ in i2c_mcux_master_transfer_callback()
149 i2c_master_transfer_t transfer; in i2c_mcux_transfer() local
162 /* Initialize the transfer descriptor */ in i2c_mcux_transfer()
163 transfer.flags = i2c_mcux_convert_flags(msgs->flags); in i2c_mcux_transfer()
164 transfer.slaveAddress = addr; in i2c_mcux_transfer()
165 transfer.direction = (msgs->flags & I2C_MSG_READ) in i2c_mcux_transfer()
167 transfer.subaddress = 0; in i2c_mcux_transfer()
168 transfer.subaddressSize = 0; in i2c_mcux_transfer()
169 transfer.data = msgs->buf; in i2c_mcux_transfer()
170 transfer.dataSize = msgs->len; in i2c_mcux_transfer()
[all …]
Di2c_rv32m1_lpi2c.c132 lpi2c_master_transfer_t transfer; in rv32m1_lpi2c_transfer() local
145 /* Initialize the transfer descriptor */ in rv32m1_lpi2c_transfer()
146 transfer.flags = rv32m1_lpi2c_convert_flags(msgs->flags); in rv32m1_lpi2c_transfer()
152 transfer.flags |= kLPI2C_TransferNoStartFlag; in rv32m1_lpi2c_transfer()
155 transfer.slaveAddress = addr; in rv32m1_lpi2c_transfer()
156 transfer.direction = (msgs->flags & I2C_MSG_READ) in rv32m1_lpi2c_transfer()
158 transfer.subaddress = 0; in rv32m1_lpi2c_transfer()
159 transfer.subaddressSize = 0; in rv32m1_lpi2c_transfer()
160 transfer.data = msgs->buf; in rv32m1_lpi2c_transfer()
161 transfer.dataSize = msgs->len; in rv32m1_lpi2c_transfer()
[all …]
/Zephyr-latest/subsys/usb/device/
Dusb_transfer.c23 /** endpoint associated to the transfer */
25 /** Transfer status */
27 /** Transfer read/write buffer */
29 /** Transfer buffer size */
33 /** Transfer callback */
35 /** Transfer caller private data */
37 /** Transfer synchronization semaphore */
39 /** Transfer read/write work */
41 /** Transfer flags */
48 /* Transfer management */
[all …]
/Zephyr-latest/dts/bindings/spi/
Dnxp,s32-spi.yaml41 deactivating Chip Select at the stop of transfer. If CS remains
42 asserted between transfer, this delay will be inserted between transfer.
51 of clock signal at the start of transfer. If CS remains asserted
52 between transfer, this delay will be inserted between transfer.
61 of previous transfer and activating Chip Select at the start of
62 next transfer. If CS remains asserted between transfer, this delay
/Zephyr-latest/include/zephyr/dt-bindings/flash_controller/
Dospi.h12 * SPI mode in STR transfer rate
13 * OPI mode in STR transfer rate
14 * OPI mode in DTR transfer rate
27 /* OSPI mode operating on Single or Double Transfer Rate */
28 /* Single Transfer Rate */
30 /* Double Transfer Rate */
/Zephyr-latest/drivers/flash/
Dflash_mcux_flexspi_hyperflash.c262 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_wait_bus_busy() local
267 transfer.deviceAddress = 0; in flash_flexspi_hyperflash_wait_bus_busy()
268 transfer.port = data->port; in flash_flexspi_hyperflash_wait_bus_busy()
269 transfer.cmdType = kFLEXSPI_Read; in flash_flexspi_hyperflash_wait_bus_busy()
270 transfer.SeqNumber = 2; in flash_flexspi_hyperflash_wait_bus_busy()
271 transfer.seqIndex = READ_STATUS; in flash_flexspi_hyperflash_wait_bus_busy()
272 transfer.data = &read_value; in flash_flexspi_hyperflash_wait_bus_busy()
273 transfer.dataSize = 2; in flash_flexspi_hyperflash_wait_bus_busy()
276 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_wait_bus_busy()
295 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_write_enable() local
[all …]
/Zephyr-latest/drivers/spi/
Dspi_rv32m1_lpspi.c53 lpspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
63 transfer.configFlags = kLPSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet()
68 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
69 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
70 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
73 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
74 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
75 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
78 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
79 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
/Zephyr-latest/subsys/bluetooth/services/ots/
DKconfig1 # Bluetooth Object Transfer service
7 bool "Object Transfer Service (OTS) [EXPERIMENTAL]"
13 Enable Object Transfer Service.
71 #### Object Transfer Service Client ################################
74 bool "Object Transfer Service Client [Experimental]"
80 This option enables support for the Object Transfer Service Client.
95 int "Size of TX MTU for Object Transfer Channel"
100 int "Size of RX MTU for Object Transfer Channel"
/Zephyr-latest/drivers/usb/uhc/
Duhc_common.h62 * @brief Helper function to return UHC transfer to a higher level.
64 * Function to dequeue transfer and send UHC event to a higher level.
67 * @param[in] xfer Pointer to UHC transfer
68 * @param[in] err Transfer error
75 * @brief Helper to get next transfer to process.
77 * This is currently a draft, and simple picks a transfer
81 * @return pointer to the next transfer or NULL on error.
86 * @brief Helper to append a transfer to internal list.
89 * @param[in] xfer Pointer to UHC transfer
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.h117 * prepared for transfer already.
118 * 2. Whole transfer has been finished.
121 * The last packet from requested transfer has been transferred
137 /** Data received, no buffer prepared already - waiting for configured transfer. */
149 /** EP0 transfer can be aborted when new setup comes.
150 * Any other transfer can be aborted by USB reset or driver stopping.
153 /** Transfer is in progress. */
174 } eptransfer; /**< Endpoint transfer status. */
188 * Universal data pointer that can be used for any type of transfer.
197 * @brief Structure to be filled with information about the next transfer.
[all …]
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c12 * @brief Verify zephyr dma memory to memory transfer loops
17 * -# Start transfer
58 zassert_ok(dma_config(dev, id, &dma_cfg), "Not able to config transfer %d", in test_transfer()
60 zassert_ok(dma_start(dev, id), "Not able to start next transfer %d", in test_transfer()
91 TC_PRINT("DMA memory to memory transfer started\n"); in test_loop()
132 TC_PRINT("Starting the transfer on channel %d and waiting for 1 second\n", chan_id); in test_loop()
143 TC_PRINT("ERROR: transfer config (%d)\n", chan_id); in test_loop()
148 TC_PRINT("ERROR: transfer start (%d)\n", chan_id); in test_loop()
156 TC_PRINT("ERROR: unfinished transfer\n"); in test_loop()
158 TC_PRINT("ERROR: transfer stop\n"); in test_loop()
[all …]
/Zephyr-latest/drivers/dma/
Ddma_dw_axi.c20 /* mask for block transfer size */
62 /* block transfer size register for a channel */
76 /* channel block transfer resume request register */
91 /* bitfield configuration for multi-block transfer */
99 /* bitfield configuration for transfer type and flow controller */
111 /* interrupt on completion of block transfer */
130 /* source transfer width */
132 /* destination transfer width */
137 /* enable block completion transfer interrupt */
139 /* enable transfer completion interrupt */
[all …]
/Zephyr-latest/tests/boards/frdm_k64f/i2c/
DREADME.rst4 Tests the i2c transfer and transfer async APIs against the fxos8700 sensor
5 on the board using its FIFO with a async and sync transfer to compare

12345678910>>...31