Structure describing a single BOTA transfer.
Data Fields | |
BotaTransferId | transferId |
ID of the transfer. | |
EMBENET_IPV6 | recipientAddr |
IPv6 address of the recipient (can be multicast) | |
uint16_t | recipientPort |
Recipient port number. | |
BotaReadFunc | readFunc |
Read function to read bulk memory. | |
BotaMemoryAddr | readAddr |
Address in Bulk memory where the bulk data starts. | |
size_t | size |
Size of the bulk data to transfer. | |
BotaOnTransferAcceptedCallback | onTransferAcceptedCallback |
Callback function to call when the transfer is accepted. | |
BotaOnTransferFinishedCallback | onTransferFinishedCallback |
Callback function to call when the transfer is finished. | |
uint8_t | transferInfo [BOTA_MAX_TRANSFER_INFO_SIZE] |
User defined data associated with the transfer. | |
size_t | transferInfoSize |
Size of the transferInfo. | |
struct BotaRecipientRegistry * | recipientRegistry |
Recipient registry. | |
BotaSenderTransferState | state |
State of the transfer. | |
size_t | transferRequestSentCount |
Number of TRANSFER.request packets sent during this transfer. | |
size_t | validateRequestSentCount |
Number of VALIDATE.request packets sent during this transfer. | |
BotaSenderMissingChunk | missingChunks [BOTA_SENDER_MAX_MISSING_CHUNKS] |
Array holding the information about missing data chunks. | |
uint64_t | lastSentPacketTime |
Time at which the last packet was sent. | |
uint64_t | lastSentOrReceivedPacketTime |
Time at which the last packet was received. | |
uint32_t | amountOfDataThatWasSent |
Counter that aggregates the amount of bytes that were already sent in the transfer. | |
uint32_t | crc32 |
CRC of the data that was already sent. | |
BotaSenderTransferPolicy | policy |
Transfer policy (settings) | |
size_t | retryCount |
Number of retries. | |
BotaTransferId BotaTransfer::transferId |
ID of the transfer.
EMBENET_IPV6 BotaTransfer::recipientAddr |
IPv6 address of the recipient (can be multicast)
uint16_t BotaTransfer::recipientPort |
Recipient port number.
BotaReadFunc BotaTransfer::readFunc |
Read function to read bulk memory.
BotaMemoryAddr BotaTransfer::readAddr |
Address in Bulk memory where the bulk data starts.
size_t BotaTransfer::size |
Size of the bulk data to transfer.
BotaOnTransferAcceptedCallback BotaTransfer::onTransferAcceptedCallback |
Callback function to call when the transfer is accepted.
BotaOnTransferFinishedCallback BotaTransfer::onTransferFinishedCallback |
Callback function to call when the transfer is finished.
uint8_t BotaTransfer::transferInfo[BOTA_MAX_TRANSFER_INFO_SIZE] |
User defined data associated with the transfer.
size_t BotaTransfer::transferInfoSize |
Size of the transferInfo.
struct BotaRecipientRegistry* BotaTransfer::recipientRegistry |
Recipient registry.
BotaSenderTransferState BotaTransfer::state |
State of the transfer.
size_t BotaTransfer::transferRequestSentCount |
Number of TRANSFER.request packets sent during this transfer.
size_t BotaTransfer::validateRequestSentCount |
Number of VALIDATE.request packets sent during this transfer.
BotaSenderMissingChunk BotaTransfer::missingChunks[BOTA_SENDER_MAX_MISSING_CHUNKS] |
Array holding the information about missing data chunks.
uint64_t BotaTransfer::lastSentPacketTime |
Time at which the last packet was sent.
uint64_t BotaTransfer::lastSentOrReceivedPacketTime |
Time at which the last packet was received.
uint32_t BotaTransfer::amountOfDataThatWasSent |
Counter that aggregates the amount of bytes that were already sent in the transfer.
uint32_t BotaTransfer::crc32 |
CRC of the data that was already sent.
BotaSenderTransferPolicy BotaTransfer::policy |
Transfer policy (settings)
size_t BotaTransfer::retryCount |
Number of retries.
Any question or remarks? Just write us a message!
Feel free to get in touch