Functions
-
WEAVE_ERROR InitBdxReceive (BDXTransfer & aXfer, bool aICanDrive, bool aUCanDrive, bool aAsyncOk, ReferencedTLVData * aMetaData)The following two handlers are protocol entry points
-
WEAVE_ERROR InitBdxSend (BDXTransfer & aXfer, bool aICanDrive, bool aUCanDrive, bool aAsyncOk, ReferencedTLVData * aMetaData) -
WEAVE_ERROR InitBdxSend (BDXTransfer & aXfer, bool aICanDrive, bool aUCanDrive, bool aAsyncOk, SendInit::MetaDataTLVWriteCallback aMetaDataWriteCallback, void * aMetaDataAppState) -
WEAVE_ERROR SendBlockQuery (BDXTransfer & aXfer)Helper functions for handling Weave BDX sends
-
WEAVE_ERROR SendBlockQueryV1 (BDXTransfer & aXfer) -
WEAVE_ERROR SendNextBlock (BDXTransfer & aXfer) -
WEAVE_ERROR SendNextBlockV1 (BDXTransfer & aXfer) -
void HandleResponse (ExchangeContext * anEc, const IPPacketInfo * aPktInfo, const WeaveMessageInfo * aWeaveMsgInfo, uint32_t aProfileId, uint8_t aMessageType, PacketBuffer * aPacketBuffer)The following handlers are stateless callbacks meant to be passed to the
ExchangeContext in order to handle incoming BDX messages.
They handle the actual BDX protocol interaction and defer to the previously
defined callbacks for application-specific logic.
-
void HandleConnectionClosed (ExchangeContext * anEc, WeaveConnection * aCon, WEAVE_ERROR aConErr) -
void HandleResponseTimeout (ExchangeContext * anEc) -
void HandleKeyError (ExchangeContext * anEc, WEAVE_ERROR aKeyErr) -
void HandleSendError (ExchangeContext * anEc, WEAVE_ERROR aSendErr, void * aMsgCtxt) -
void SendTransferError (ExchangeContext * anEc, uint32_t aProfileId, uint16_t aStatusCode) -
void SendStatusReport (ExchangeContext * anEc, uint32_t aProfileId, uint16_t aStatusCode) -
WEAVE_ERROR HandleResponseTransmit (BDXTransfer & aXfer, uint32_t aProfileId, uint8_t aMessageType, PacketBuffer * aPacketBuffer)Private functions only to be called from this group of functions
-
WEAVE_ERROR HandleResponseReceive (BDXTransfer & aXfer, uint32_t aProfileId, uint8_t aMessageType, PacketBuffer * aPacketBuffer) -
WEAVE_ERROR HandleResponseNotAccepted (BDXTransfer & aXferuint32_t aProfileIduint8_t aMessageTypePacketBuffer * aPacketBuffer)