提供意見
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
nl:: Weave:: Profiles:: ServiceProvisioning:: ServiceProvisioningServer
#include <src/lib/profiles/service-provisioning/ServiceProvisioning.h>
實作服務佈建設定檔的簡易伺服器類別。
摘要
繼承
沿用自:
nl::Weave::WeaveServerBase
直接已知的子類別:
nl::Weave::DeviceLayer::Internal::ServiceProvisioningServer
公開函式
GetDelegate (void) const
Init (WeaveExchangeManager *exchangeMgr)
SendIFJServiceFabricJoinRequest (Binding *binding, uint64_t serviceId, uint64_t fabricId, const uint8_t *deviceInitData, uint16_t deviceInitDataLen)
SendPairDeviceToAccountRequest (WeaveConnection *serverCon, uint64_t serviceId, uint64_t fabricId, const char *accountId, uint16_t accountIdLen, const uint8_t *pairingToken, uint16_t pairingTokenLen, const uint8_t *pairingInitData, uint16_t pairingInitDataLen, const uint8_t *deviceInitData, uint16_t deviceInitDataLen)
SendPairDeviceToAccountRequest (Binding *binding, uint64_t serviceId, uint64_t fabricId, const char *accountId, uint16_t accountIdLen, const uint8_t *pairingToken, uint16_t pairingTokenLen, const uint8_t *pairingInitData, uint16_t pairingInitDataLen, const uint8_t *deviceInitData, uint16_t deviceInitDataLen)
SendStatusReport (uint32_t statusProfileId, uint16_t statusCode, WEAVE_ERROR sysError)
SendSuccessResponse (void)
SetDelegate (ServiceProvisioningDelegate *delegate)
void
Shutdown (void)
受保護的類型
307 號星
@307
受保護的屬性
mCurClientOp
ExchangeContext * mCurClientOp
mCurClientOpBuf
PacketBuffer * mCurClientOpBuf
mCurClientOpMsg
union nl :: Weave :: Profiles :: ServiceProvisioning :: ServiceProvisioningServer :: @308 mCurClientOpMsg
mCurServerOp
ExchangeContext * mCurServerOp
mDelegate
ServiceProvisioningDelegate * mDelegate
mServerOpState
uint8_t mServerOpState
公開屬性
RegisterServicePairAccount
RegisterServicePairAccountMessage RegisterServicePairAccount
UpdateService
UpdateServiceMessage UpdateService
公開函式
GetDelegate
ServiceProvisioningDelegate * GetDelegate (
void
) const
Init
WEAVE_ERROR Init(
WeaveExchangeManager *exchangeMgr
)
SendIFJServiceFabricJoinRequest
WEAVE_ERROR SendIFJServiceFabricJoinRequest (
Binding * binding ,
uint64_t serviceId ,
uint64_t fabricId ,
const uint8_t * deviceInitData ,
uint16_t deviceInitDataLen
)
SendPairDeviceToAccountRequest
WEAVE_ERROR SendPairDeviceToAccountRequest (
WeaveConnection * serverCon ,
uint64_t serviceId ,
uint64_t fabricId ,
const char * accountId ,
uint16_t accountIdLen ,
const uint8_t * pairingToken ,
uint16_t pairingTokenLen ,
const uint8_t * pairingInitData ,
uint16_t pairingInitDataLen ,
const uint8_t * deviceInitData ,
uint16_t deviceInitDataLen
)
SendPairDeviceToAccountRequest
WEAVE_ERROR SendPairDeviceToAccountRequest (
Binding * binding ,
uint64_t serviceId ,
uint64_t fabricId ,
const char * accountId ,
uint16_t accountIdLen ,
const uint8_t * pairingToken ,
uint16_t pairingTokenLen ,
const uint8_t * pairingInitData ,
uint16_t pairingInitDataLen ,
const uint8_t * deviceInitData ,
uint16_t deviceInitDataLen
)
SendStatusReport
virtual WEAVE_ERROR SendStatusReport(
uint32_t statusProfileId,
uint16_t statusCode,
WEAVE_ERROR sysError
)
SendSuccessResponse
virtual WEAVE_ERROR SendSuccessResponse(
void
)
ServiceProvisioningServer
ServiceProvisioningServer(
void
)
SetDelegate
void SetDelegate(
ServiceProvisioningDelegate *delegate
)
關閉
WEAVE_ERROR Shutdown(
void
)
公開的靜態函式
IsValidServiceConfig
bool IsValidServiceConfig (
const uint8_t * serviceConfig ,
uint16_t serviceConfigLen
)
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.
上次更新時間:2024-08-22 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-22 (世界標準時間)。"],[],[]]