Google은 흑인 공동체를 위한 인종적 평등을 추구하기 위해 노력하고 있습니다. 자세히 알아보기
컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.

nl :: 짜다:: 프로필 :: 서비스 프로비저닝 :: 서비스 프로비저닝 서버

#include <src/lib/profiles/service-provisioning/ServiceProvisioning.h>

서비스 프로비저닝 프로파일을 구현하기위한 간단한 서버 클래스입니다.

요약

계승

:에서 상속 NL :: 위브 :: WeaveServerBase
기존의 서브 클래스를 직접 : NL :: 위브 :: DeviceLayer :: 내부 :: ServiceProvisioningServer

생성자와 소멸자

ServiceProvisioningServer (void)

보호 된 유형

@307 열거 형

보호 된 속성

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

공용 속성

RegisterServicePairAccount
UpdateService

공공 기능

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)

공개 정적 함수

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 

초기화

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(
  void
)

SetDelegate

void SetDelegate(
  ServiceProvisioningDelegate *delegate
)

일시 휴업

WEAVE_ERROR Shutdown(
  void
)

공개 정적 함수

IsValidServiceConfig

bool IsValidServiceConfig(
  const uint8_t *serviceConfig,
  uint16_t serviceConfigLen
)