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

Konstruktory i niszczyciele

ServiceProvisioningServer(void)

Typy chronione

@307 enum | typ wyliczeniowy

Atrybuty chronione

mCurClientOp
mCurClientOpBuf
PacketBuffer *
mCurClientOpMsg
union nl::Weave::Profiles::ServiceProvisioning::ServiceProvisioningServer::@308
mCurServerOp
mDelegate
mServerOpState
uint8_t

Atrybuty publiczne

RegisterServicePairAccount
UpdateService

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)
virtual WEAVE_ERROR
SendSuccessResponse(void)
virtual WEAVE_ERROR
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
)