Prześlij opinię
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
nl:: Weave:: Profiles:: ServiceProvisioning:: ServiceProvisioningServer
#include <src/lib/profiles/service-provisioning/ServiceProvisioning.h>
Prosta klasa serwera do implementacji profilu udostępniania usług.
Podsumowanie
Dziedziczenie
Dziedziczy z:
nl::Weave::WeaveServerBase
Bezpośrednie znane podklasy:
nl::Weave::DeviceLayer::Internal::ServiceProvisioningServer
Typy chronione
@307
enum | typ wyliczeniowy
Funkcje publiczne
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)
Publiczne funkcje statyczne
IsValidServiceConfig (const uint8_t *serviceConfig, uint16_t serviceConfigLen)
bool
Typy chronione
@307
@307
Atrybuty chronione
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
Atrybuty publiczne
RegisterServicePairAccount
RegisterServicePairAccountMessage RegisterServicePairAccount
UpdateService
UpdateServiceMessage UpdateService
Funkcje publiczne
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
)
Wyłączono
WEAVE_ERROR Shutdown(
void
)
Publiczne funkcje statyczne
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.
Ostatnia aktualizacja: 2024-08-22 UTC.
Chcesz przekazać coś jeszcze?
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-08-22 UTC."],[],[]]