Geri bildirim gönderin
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
nl:: Weave:: Profiles:: ServiceProvisioning:: ServiceProvisioningServer
#include <src/lib/profiles/service-provisioning/ServiceProvisioning.h>
Hizmet Temel Hazırlık profilinin uygulanması için basit sunucu sınıfı.
Özet
Devralma
Devralındığı kaynak:
nl::Weave::WeaveServerBase
Doğrudan Bilinen Alt Sınıflar:
nl::Weave::DeviceLayer::Internal::ServiceProvisioningServer
Korumalı türler
@307
enum
Herkese açık işlevler
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)
Herkese açık statik işlevler
IsValidServiceConfig (const uint8_t *serviceConfig, uint16_t serviceConfigLen)
bool
Korumalı türler
@307
@307
Korunan özellikler
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
Herkese açık özellikler
RegisterServicePairAccount
RegisterServicePairAccountMessage RegisterServicePairAccount
UpdateService
UpdateServiceMessage UpdateService
Herkese açık işlevler
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
)
Kapat
WEAVE_ERROR Shutdown(
void
)
Herkese açık statik işlevler
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.
Son güncelleme tarihi: 2024-08-22 UTC.
Bize geri bildirimde bulunmak mı istiyorsunuz?
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-08-22 UTC."],[],[]]