Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam.
Lihat caranya .
Kirim masukan
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
nl:: Weave:: Profiles:: ServiceProvisioning:: ServiceProvisioningServer
#include <src/lib/profiles/service-provisioning/ServiceProvisioning.h>
Kelas server sederhana untuk menerapkan profil Penyediaan Layanan.
Ringkasan
Inheritance
Mewarisi dari:
nl::Weave::WeaveServerBase
Subclass yang Dikenal Langsung:
nl::Weave::DeviceLayer::Internal::ServiceProvisioningServer
Jenis yang dilindungi
@307
enum
Fungsi publik
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)
Fungsi statis publik
IsValidServiceConfig (const uint8_t *serviceConfig, uint16_t serviceConfigLen)
bool
Jenis yang dilindungi
@307
@307
Atribut yang dilindungi
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
Atribut publik
RegisterServicePairAccount
RegisterServicePairAccountMessage RegisterServicePairAccount
UpdateService
UpdateServiceMessage UpdateService
Fungsi publik
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
)
Nonaktif
WEAVE_ERROR Shutdown(
void
)
Fungsi statis publik
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.
Terakhir diperbarui pada 2024-08-22 UTC.
Ada masukan untuk kami?
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-08-22 UTC."],[],[]]