सुझाव भेजें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
nl:: Weave:: Profiles:: ServiceProvisioning:: ServiceProvisioningServer
#include <src/lib/profiles/service-provisioning/ServiceProvisioning.h>
सर्विस प्रॉविज़निंग प्रोफ़ाइल लागू करने के लिए आसान सर्वर क्लास.
खास जानकारी
इनहेरिटेंस
इनसे इनहेरिट किया जाता है:
nl::Weave::WeaveServerBase
पहले से मालूम सब-क्लास:
nl::Weave::DeviceLayer::Internal::ServiceProvisioningServer
सुरक्षित किए गए टाइप
@307
enum
सार्वजनिक फ़ंक्शन
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)
सार्वजनिक स्टैटिक फ़ंक्शन
IsValidServiceConfig (const uint8_t *serviceConfig, uint16_t serviceConfigLen)
bool
सुरक्षित किए गए टाइप
@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 (UTC) को अपडेट किया गया.
क्या आपको हमें और कुछ बताना है?
[[["समझने में आसान है","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 (UTC) को अपडेट किया गया."],[],[]]