Functions
-
WEAVE_ERROR InitBdxReceive (BDXTransfer &aXfer,boolaICanDrive,boolaUCanDrive,boolaAsyncOk,ReferencedTLVData *aMetaData)The following two handlers are protocol entry points
-
WEAVE_ERROR InitBdxSend (BDXTransfer &aXfer,boolaICanDrive,boolaUCanDrive,boolaAsyncOk,ReferencedTLVData *aMetaData) -
WEAVE_ERROR InitBdxSend (BDXTransfer &aXfer,boolaICanDrive,boolaUCanDrive,boolaAsyncOk,SendInit::MetaDataTLVWriteCallbackaMetaDataWriteCallback,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_taProfileId,uint8_taMessageType,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_ERRORaConErr) -
void HandleResponseTimeout (ExchangeContext * anEc) -
void HandleKeyError (ExchangeContext * anEc, WEAVE_ERROR aKeyErr) -
void HandleSendError (ExchangeContext *anEc,WEAVE_ERRORaSendErr,void *aMsgCtxt) -
void SendTransferError (ExchangeContext *anEc,uint32_taProfileId,uint16_taStatusCode) -
void SendStatusReport (ExchangeContext *anEc,uint32_taProfileId,uint16_taStatusCode) -
WEAVE_ERROR HandleResponseTransmit (BDXTransfer &aXfer,uint32_taProfileId,uint8_taMessageType,PacketBuffer *aPacketBuffer)Private functions only to be called from this group of functions
-
WEAVE_ERROR HandleResponseReceive (BDXTransfer &aXfer,uint32_taProfileId,uint8_taMessageType,PacketBuffer *aPacketBuffer) -
WEAVE_ERROR HandleResponseNotAccepted (BDXTransfer &aXfer,uint32_taProfileId,uint8_taMessageType,PacketBuffer *aPacketBuffer)