Gửi ý kiến phản hồi
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
nl:: Weave:: Profiles:: BDX_Current:: WeaveBdxClient
Tóm tắt
Hàm công khai
DispatchErrorHandler (WEAVE_ERROR anErrorCode)
void
DispatchGetBlockHandler (uint64_t *pLength, uint8_t **aDataBlock, bool *isLastBlock)
void
DispatchPutBlockHandler (uint64_t length, uint8_t *dataBlock, bool isLastBlock)
void
DispatchReceiveAccept (ReceiveAccept *aReceiveAcceptMsg)
void
DispatchRejectHandler (StatusReport *aReport)
void
DispatchSendAccept (SendAccept *aSendAcceptMsg)
void
DispatchXferDoneHandler ()
void
DispatchXferErrorHandler (StatusReport *aXferError)
void
awaitBdxInit ()
initBdxReceive (bool iCanDrive, ReceiveAcceptHandler anAcceptHandler, RejectHandler aRejectHandler, PutBlockHandler aBlockHandler, XferErrorHandler aXferErrorHandler, XferDoneHandler aDoneHandler, ErrorHandler anErrorHandler)
initBdxSend (bool iCanDrive, bool uCanDrive, bool aSynchOK, SendAcceptHandler anAcceptHandler, RejectHandler aRejectHandler, GetBlockHandler aBlockHandler, XferErrorHandler aXferErrorHandler, XferDoneHandler aDoneHandler, ErrorHandler anErrorHandler, ReferencedTLVData *aMetaData)
initClient (WeaveExchangeManager *, void *, ReferencedString &, uint16_t, uint64_t, uint64_t, bool)
shutdownClient ()
shutdownClient (WEAVE_ERROR aErr)
Loại công khai
ErrorHandler
void(* ErrorHandler)(void *aAppState, WEAVE_ERROR anErrorCode)
GetBlockHandler
void(* GetBlockHandler)(void *aAppState, uint64_t *pLength, uint8_t * *aDataBlock, bool *isLastBlock)
PutBlockHandler
void(* PutBlockHandler)(uint64_t aLength, uint8_t *aDataBlock, bool isLastBlock)
ReceiveAcceptHandler
void(* ReceiveAcceptHandler)(ReceiveAccept *aReceiveAcceptMsg)
ReceiveInitHandler
void(* ReceiveInitHandler)(ReceiveInit *aReceiveInitMsg)
RejectHandler
void(* RejectHandler)(void *aAppState, StatusReport *aReport)
SendAcceptHandler
void(* SendAcceptHandler)(void *aAppState, SendAccept *aSendAcceptMsg)
SendInitHandler
void(* SendInitHandler)(SendInit *aSendInitMsg)
XferDoneHandler
void(* XferDoneHandler)(void *aAppState)
XferErrorHandler
void(* XferErrorHandler)(void *aAppState, StatusReport *aXferError)
Các thuộc tính công khai
amDriver
bool amDriver
amInitiator
bool amInitiator
amSender
bool amSender
isAccepted
bool isAccepted
isAsynch
bool isAsynch
isDone
bool isDone
isInitiated
bool isInitiated
isWideRange
bool isWideRange
theAppState
void * theAppState
theBlockCounter
uint8_t theBlockCounter
theConnection
WeaveConnection * theConnection
theEncryptionType
uint8_t theEncryptionType
theErrorHandler
ErrorHandler theErrorHandler
theExchangeCtx
ExchangeContext * theExchangeCtx
theExchangeMgr
WeaveExchangeManager * theExchangeMgr
theFabricState
const WeaveFabricState * theFabricState
theFileDesignator
ReferencedString theFileDesignator
theGetBlockHandler
GetBlockHandler theGetBlockHandler
theKeyId
uint16_t theKeyId
theLength
uint64_t theLength
theMaxBlockSize
uint16_t theMaxBlockSize
thePutBlockHandler
PutBlockHandler thePutBlockHandler
theReceiveAcceptHandler
ReceiveAcceptHandler theReceiveAcceptHandler
theReceiveInitHandler
ReceiveInitHandler theReceiveInitHandler
theRejectHandler
RejectHandler theRejectHandler
theSendAcceptHandler
SendAcceptHandler theSendAcceptHandler
theSendInitHandler
SendInitHandler theSendInitHandler
theStartOffset
uint64_t theStartOffset
theXferDoneHandler
XferDoneHandler theXferDoneHandler
theXferErrorHandler
XferErrorHandler theXferErrorHandler
Hàm công khai
DispatchErrorHandler
void DispatchErrorHandler(
WEAVE_ERROR anErrorCode
)
DispatchGetBlockHandler
void DispatchGetBlockHandler(
uint64_t *pLength,
uint8_t * *aDataBlock,
bool *isLastBlock
)
DispatchPutBlockHandler
void DispatchPutBlockHandler(
uint64_t length,
uint8_t *dataBlock,
bool isLastBlock
)
DispatchReceiveAccept
void DispatchReceiveAccept(
ReceiveAccept *aReceiveAcceptMsg
)
DispatchRejectHandler
void DispatchRejectHandler(
StatusReport *aReport
)
DispatchSendAccept
void DispatchSendAccept(
SendAccept *aSendAcceptMsg
)
DispatchXferDoneHandler
void DispatchXferDoneHandler()
DispatchXferErrorHandler
void DispatchXferErrorHandler(
StatusReport *aXferError
)
WeaveBdxClient
WeaveBdxClient()
awaitBdxInit
WEAVE_ERROR awaitBdxInit()
initBdxReceive
WEAVE_ERROR initBdxReceive(
bool iCanDrive,
ReceiveAcceptHandler anAcceptHandler,
RejectHandler aRejectHandler,
PutBlockHandler aBlockHandler,
XferErrorHandler aXferErrorHandler,
XferDoneHandler aDoneHandler,
ErrorHandler anErrorHandler
)
initBdxSend
WEAVE_ERROR initBdxSend(
bool iCanDrive,
bool uCanDrive,
bool aSynchOK,
SendAcceptHandler anAcceptHandler,
RejectHandler aRejectHandler,
GetBlockHandler aBlockHandler,
XferErrorHandler aXferErrorHandler,
XferDoneHandler aDoneHandler,
ErrorHandler anErrorHandler,
ReferencedTLVData *aMetaData
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
Cập nhật lần gần đây nhất: 2024-08-22 UTC.
Bạn muốn chia sẻ thêm với chúng tôi?
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-08-22 UTC."],[],[]]