nl::
  #include <src/lib/profiles/device-control/DeviceControl.h>
  デバイス コントロール プロファイルを実装するためのサーバークラス。
概要
継承
継承元: nl::Weave::WeaveServerBase直系の既知のサブクラス: nl::Weave::DeviceLayer::Internal::DeviceControlServer
| コンストラクタとデストラクタ | |
|---|---|
| DeviceControlServer(void) | 
| パブリック関数 | |
|---|---|
| Init(WeaveExchangeManager *exchangeMgr) | デバイス コントロール サーバーの状態を初期化し、デバイス コントロール メッセージを受信するように登録します。 | 
| IsRemotePassiveRendezvousInProgress(void) const  | boolリモート パッシブ ランデブー状態を返す。 | 
| SendStatusReport(uint32_t statusProfileId, uint16_t statusCode, WEAVE_ERROR sysError) | virtual WEAVE_ERRORステータス レポート レスポンスをリクエストに送信します。 | 
| SendSuccessResponse(void) | virtual WEAVE_ERRORデバイス コントロール リクエストに成功レスポンスを送信します。 | 
| SetDelegate(DeviceControlDelegate *delegate) | voidデバイス コントロール サーバーのイベントを処理するようにデリゲートを設定します。 | 
| Shutdown(void) | デバイス コントロール サーバーをシャットダウンします。 | 
| SystemTestTimeout(void) | void | 
プロテクト属性
mCurClientOp
ExchangeContext * mCurClientOp
mDelegate
DeviceControlDelegate * mDelegate
mFailSafeArmed
bool mFailSafeArmed
mFailSafeToken
uint32_t mFailSafeToken
mRemotePassiveRendezvousClientCon
WeaveConnection * mRemotePassiveRendezvousClientCon
mRemotePassiveRendezvousEncryptionType
uint8_t mRemotePassiveRendezvousEncryptionType
mRemotePassiveRendezvousJoinerAddr
IPAddress mRemotePassiveRendezvousJoinerAddr
mRemotePassiveRendezvousJoinerCon
WeaveConnection * mRemotePassiveRendezvousJoinerCon
mRemotePassiveRendezvousKeyId
uint16_t mRemotePassiveRendezvousKeyId
mRemotePassiveRendezvousOp
ExchangeContext * mRemotePassiveRendezvousOp
mRemotePassiveRendezvousTimeout
uint16_t mRemotePassiveRendezvousTimeout
mRemotePassiveRendezvousTunnel
WeaveConnectionTunnel * mRemotePassiveRendezvousTunnel
mResetFlags
uint16_t mResetFlags
mTunnelInactivityTimeout
uint16_t mTunnelInactivityTimeout
パブリック関数
DeviceControlServer
DeviceControlServer( void )
init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
デバイス コントロール サーバーの状態を初期化し、デバイス コントロール メッセージを受信するように登録します。
| 詳細 | |||||||
|---|---|---|---|---|---|---|---|
| パラメータ | 
 | ||||||
| 戻り値 | 
 | ||||||
IsRemotePassiveRendezvousInProgress
bool IsRemotePassiveRendezvousInProgress( void ) const
リモート パッシブ ランデブー状態を返す。
| 詳細 | |||||
|---|---|---|---|---|---|
| 戻り値 | 
 | ||||
SendStatusReport
virtual WEAVE_ERROR SendStatusReport( uint32_t statusProfileId, uint16_t statusCode, WEAVE_ERROR sysError )
ステータス レポート レスポンスをリクエストに送信します。
| 詳細 | |||||||
|---|---|---|---|---|---|---|---|
| パラメータ | 
 | ||||||
| 戻り値 | 
 | ||||||
SendSuccessResponse
virtual WEAVE_ERROR SendSuccessResponse( void )
デバイス コントロール リクエストに成功レスポンスを送信します。
| 詳細 | |||||||
|---|---|---|---|---|---|---|---|
| 戻り値 | 
 | ||||||
SetDelegate
void SetDelegate( DeviceControlDelegate *delegate )
デバイス コントロール サーバーのイベントを処理するようにデリゲートを設定します。
| 詳細 | |||
|---|---|---|---|
| パラメータ | 
 | ||
SystemTestTimeout
void SystemTestTimeout( void )