BotaRecipient Struct ReferenceBOTA Recipient API

Detailed Description

Structure defining BOTA recipient instance

Data Fields

EMBENET_UDP_SocketDescriptor udpSocket
 UDP socket descriptor. More...
 
BotaTimeFunc timeFunc
 Callback function that will provide time for the BOTA protocol instance. More...
 
BotaOnTransferStartedCallback onTransferStarted
 Callback that will be called when a new incoming transfer is started. More...
 
BotaOnTransferReceivedCallback onTransferReceived
 Callback that will be called when an incoming transfer is received. More...
 
BotaOnTransferAbortedCallback onTransferAborted
 Callback that will be called when an incoming transfer is aborted. More...
 
BotaOnTransferDataMissingCallback onTransferDataMissing
 Callback that will be called when an incoming transfer is missing too much data. More...
 
BotaRecipientTransfer transfer [BOTA_RECIPIENT_MAX_TRANSFERS]
 Array of transfers. More...
 
bool isStarted
 Started/stopped flag. More...
 

Field Documentation

◆ udpSocket

EMBENET_UDP_SocketDescriptor BotaRecipient::udpSocket

UDP socket descriptor.

◆ timeFunc

BotaTimeFunc BotaRecipient::timeFunc

Callback function that will provide time for the BOTA protocol instance.

◆ onTransferStarted

BotaOnTransferStartedCallback BotaRecipient::onTransferStarted

Callback that will be called when a new incoming transfer is started.

◆ onTransferReceived

BotaOnTransferReceivedCallback BotaRecipient::onTransferReceived

Callback that will be called when an incoming transfer is received.

◆ onTransferAborted

BotaOnTransferAbortedCallback BotaRecipient::onTransferAborted

Callback that will be called when an incoming transfer is aborted.

◆ onTransferDataMissing

BotaOnTransferDataMissingCallback BotaRecipient::onTransferDataMissing

Callback that will be called when an incoming transfer is missing too much data.

◆ transfer

Array of transfers.

◆ isStarted

bool BotaRecipient::isStarted

Started/stopped flag.


The documentation for this struct was generated from the following file:
Go to Top