nl:: بافت:: مدیریت دستگاه:: WeaveDeviceManager
خلاصه
وراثت
از: nl::Weave::Profiles::Security::CASE::WeaveCASEAuthDelegate به ارث می رسدسازندگان و تخریب کنندگان | |
---|---|
WeaveDeviceManager () |
انواع عمومی | |
---|---|
@366 | شمارش |
صفات عمومی | |
---|---|
AddNetwork | AddNetworkCompleteFunct |
AppState | void * |
DeviceEnumeration | DeviceEnumerationResponseFunct |
General | CompleteFunct |
GetCameraAuthData | GetCameraAuthDataCompleteFunct |
GetFabricConfig | GetFabricConfigCompleteFunct |
GetNetworks | GetNetworksCompleteFunct |
GetRendezvousMode | GetRendezvousModeCompleteFunct |
GetWirelessRegulatoryConfig | GetWirelessRegulatoryConfigCompleteFunct |
IdentifyDevice | IdentifyDeviceCompleteFunct |
PairToken | PairTokenCompleteFunct |
ScanNetworks | NetworkScanCompleteFunct |
State | enum nl::Weave::DeviceManager::WeaveDeviceManager::@366 |
UnpairToken | UnpairTokenCompleteFunct |
توابع عمومی | |
---|---|
AddNetwork (const NetworkInfo *netInfo, void *appReqState, AddNetworkCompleteFunct onComplete, ErrorFunct onError) | |
ArmFailSafe (uint8_t armMode, uint32_t failSafeToken, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
Close () | void |
Close (bool graceful) | void |
CloseDeviceConnection () | void |
CloseDeviceConnection (bool graceful) | void |
ConfigureBinding ( Binding *const apBinding) | |
ConnectDevice (uint64_t deviceId, IPAddress deviceAddr, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
ConnectDevice (uint64_t deviceId, IPAddress deviceAddr, const char *pairingCode, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
ConnectDevice (uint64_t deviceId, IPAddress deviceAddr, const uint8_t *accessToken, uint32_t accessTokenLen, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
CreateFabric (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
DisableConnectionMonitor (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
DisableNetwork (uint32_t networkId, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
DisarmFailSafe (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
EnableConnectionMonitor (uint16_t interval, uint16_t timeout, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
EnableNetwork (uint32_t networkId, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
GetCameraAuthData (const char *nonce, void *appReqState, GetCameraAuthDataCompleteFunct onComplete, ErrorFunct onError) | |
GetDeviceAddress ( IPAddress & deviceAddr) | |
GetDeviceId (uint64_t & deviceId) | |
GetFabricConfig (void *appReqState, GetFabricConfigCompleteFunct onComplete, ErrorFunct onError) | |
GetLastNetworkProvisioningResult (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
GetNetworks (uint8_t flags, void *appReqState, GetNetworksCompleteFunct onComplete, ErrorFunct onError) | |
GetRendezvousMode (void *appReqState, GetRendezvousModeCompleteFunct onComplete, ErrorFunct onError) | |
GetWirelessRegulatoryConfig (void *appReqState, GetWirelessRegulatoryConfigCompleteFunct onComplete, ErrorFunct onError) | |
IdentifyDevice (void *appReqState, IdentifyDeviceCompleteFunct onComplete, ErrorFunct onError) | |
Init ( WeaveExchangeManager *exchangeMsg, WeaveSecurityManager *securityMgr) | |
IsConnected () const | bool |
JoinExistingFabric (const uint8_t *fabricConfig, uint32_t fabricConfigLen, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
LeaveFabric (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
PairToken (const uint8_t *pairingToken, uint32_t pairingTokenLen, void *appReqState, PairTokenCompleteFunct onComplete, ErrorFunct onError) | |
PassiveRendezvousDevice (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
PassiveRendezvousDevice (const char *pairingCode, void *appReqState, CompleteFunct onComplete, ErrorFunct onError, StartFunct onStart) | |
PassiveRendezvousDevice (const uint8_t *accessToken, uint32_t accessTokenLen, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
Ping (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
Ping (void *appReqState, int32_t payloadSize, CompleteFunct onComplete, ErrorFunct onError) | |
ReconnectDevice (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RegisterServicePairAccount (uint64_t serviceId, const char *accountId, const uint8_t *serviceConfig, uint16_t serviceConfigLen, const uint8_t *pairingToken, uint16_t pairingTokenLen, const uint8_t *pairingInitData, uint16_t pairingInitDataLen, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RemotePassiveRendezvous (const IPAddress rendezvousDeviceAddr, const uint8_t *accessToken, uint32_t accessTokenLen, const uint16_t rendezvousTimeoutSec, const uint16_t inactivityTimeoutSec, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RemotePassiveRendezvous (const IPAddress rendezvousDeviceAddr, const char *pairingCode, const uint16_t rendezvousTimeoutSec, const uint16_t inactivityTimeoutSec, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RemotePassiveRendezvous (const IPAddress rendezvousDeviceAddr, const uint16_t rendezvousTimeoutSec, const uint16_t inactivityTimeoutSec, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RemoveNetwork (uint32_t networkId, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RendezvousDevice (const IdentifyDeviceCriteria & deviceCriteria, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RendezvousDevice (const char *pairingCode, const IdentifyDeviceCriteria & deviceCriteria, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RendezvousDevice (const uint8_t *accessToken, uint32_t accessTokenLen, const IdentifyDeviceCriteria & deviceCriteria, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
RendezvousDevice (const char *pairingCode, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
ResetConfig (uint16_t resetFlags, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
ScanNetworks ( NetworkType networkType, void *appReqState, NetworkScanCompleteFunct onComplete, ErrorFunct onError) | |
SetAutoReconnect (bool autoReconnect) | |
SetConnectTimeout (uint32_t timeoutMS) | |
SetConnectionClosedCallback (ConnectionClosedFunc onConnecionClosedFunc, void *onConnecionClosedAppReq) | void |
SetRendezvousAddress ( IPAddress addr) | |
SetRendezvousAddress ( IPAddress addr, InterfaceId rendezvousIntf) | |
SetRendezvousLinkLocal (bool RendezvousLinkLocal) | |
SetRendezvousMode (uint16_t modeFlags, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
SetUseAccessToken (bool useAccessToken) | |
SetWiFiRendezvousAddress ( IPAddress addr) | |
SetWirelessRegulatoryConfig (const WirelessRegConfig *regConfig, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
Shutdown () | |
StartDeviceEnumeration (void *appReqState, const IdentifyDeviceCriteria & deviceCriteria, DeviceEnumerationResponseFunct onResponse, ErrorFunct onError) | |
StartSystemTest (void *appReqState, uint32_t profileId, uint32_t testId, CompleteFunct onComplete, ErrorFunct onError) | |
StopDeviceEnumeration () | void |
StopSystemTest (void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
TestNetworkConnectivity (uint32_t networkId, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
UnpairToken (void *appReqState, UnpairTokenCompleteFunct onComplete, ErrorFunct onError) | |
UnregisterService (uint64_t serviceId, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
UpdateNetwork (const NetworkInfo *netInfo, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) | |
UpdateService (uint64_t serviceId, const uint8_t *serviceConfig, uint16_t serviceConfigLen, void *appReqState, CompleteFunct onComplete, ErrorFunct onError) |
توابع استاتیک عمومی | |
---|---|
AddNodeToList (uint64_t nodeId, uint64_t *& list, uint32_t & listLen, uint32_t & listMaxLen, uint32_t initialMaxLen) | |
IsNodeInList (uint64_t nodeId, uint64_t *list, uint32_t listLen) | bool |
IsValidPairingCode (const char *pairingCode) | bool |
انواع عمومی
@366
@366
صفات عمومی
افزودن شبکه
AddNetworkCompleteFunct AddNetwork
AppState
void * AppState
DeviceEnumeration
DeviceEnumerationResponseFunct DeviceEnumeration
عمومی
CompleteFunct General
GetCameraAuthData
GetCameraAuthDataCompleteFunct GetCameraAuthData
GetFabricConfig
GetFabricConfigCompleteFunct GetFabricConfig
GetNetworks
GetNetworksCompleteFunct GetNetworks
GetRendezvousMode
GetRendezvousModeCompleteFunct GetRendezvousMode
GetWirelessRegulatoryConfig
GetWirelessRegulatoryConfigCompleteFunct GetWirelessRegulatoryConfig
IdentifyDevice
IdentifyDeviceCompleteFunct IdentifyDevice
PairToken
PairTokenCompleteFunct PairToken
ScanNetworks
NetworkScanCompleteFunct ScanNetworks
دولت
enum nl::Weave::DeviceManager::WeaveDeviceManager::@366 State
UnpairToken
UnpairTokenCompleteFunct UnpairToken
توابع عمومی
افزودن شبکه
WEAVE_ERROR AddNetwork( const NetworkInfo *netInfo, void *appReqState, AddNetworkCompleteFunct onComplete, ErrorFunct onError )
ArmFailSafe
WEAVE_ERROR ArmFailSafe( uint8_t armMode, uint32_t failSafeToken, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
نزدیک
void Close()
نزدیک
void Close( bool graceful )
CloseDeviceConnection
void CloseDeviceConnection()
CloseDeviceConnection
void CloseDeviceConnection( bool graceful )
ConfigureBinding
WEAVE_ERROR ConfigureBinding( Binding *const apBinding )
ConnectDevice
WEAVE_ERROR ConnectDevice( uint64_t deviceId, IPAddress deviceAddr, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
ConnectDevice
WEAVE_ERROR ConnectDevice( uint64_t deviceId, IPAddress deviceAddr, const char *pairingCode, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
ConnectDevice
WEAVE_ERROR ConnectDevice( uint64_t deviceId, IPAddress deviceAddr, const uint8_t *accessToken, uint32_t accessTokenLen, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
CreateFabric
WEAVE_ERROR CreateFabric( void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
DisableConnectionMonitor
WEAVE_ERROR DisableConnectionMonitor( void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
غیرفعال کردن شبکه
WEAVE_ERROR DisableNetwork( uint32_t networkId, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
DisarmFailSafe
WEAVE_ERROR DisarmFailSafe( void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
EnableConnectionMonitor
WEAVE_ERROR EnableConnectionMonitor( uint16_t interval, uint16_t timeout, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
فعال کردن شبکه
WEAVE_ERROR EnableNetwork( uint32_t networkId, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
GetCameraAuthData
WEAVE_ERROR GetCameraAuthData( const char *nonce, void *appReqState, GetCameraAuthDataCompleteFunct onComplete, ErrorFunct onError )
GetDeviceAddress
WEAVE_ERROR GetDeviceAddress( IPAddress & deviceAddr )
GetDeviceId
WEAVE_ERROR GetDeviceId( uint64_t & deviceId )
GetFabricConfig
WEAVE_ERROR GetFabricConfig( void *appReqState, GetFabricConfigCompleteFunct onComplete, ErrorFunct onError )
GetLastNetworkProvisioningResult
WEAVE_ERROR GetLastNetworkProvisioningResult( void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
GetNetworks
WEAVE_ERROR GetNetworks( uint8_t flags, void *appReqState, GetNetworksCompleteFunct onComplete, ErrorFunct onError )
GetRendezvousMode
WEAVE_ERROR GetRendezvousMode( void *appReqState, GetRendezvousModeCompleteFunct onComplete, ErrorFunct onError )
GetWirelessRegulatoryConfig
WEAVE_ERROR GetWirelessRegulatoryConfig( void *appReqState, GetWirelessRegulatoryConfigCompleteFunct onComplete, ErrorFunct onError )
IdentifyDevice
WEAVE_ERROR IdentifyDevice( void *appReqState, IdentifyDeviceCompleteFunct onComplete, ErrorFunct onError )
شروع کنید
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMsg, WeaveSecurityManager *securityMgr )
وصل است
bool IsConnected() const
JoinExistingFabric
WEAVE_ERROR JoinExistingFabric( const uint8_t *fabricConfig, uint32_t fabricConfigLen, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
LeaveFabric
WEAVE_ERROR LeaveFabric( void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
PairToken
WEAVE_ERROR PairToken( const uint8_t *pairingToken, uint32_t pairingTokenLen, void *appReqState, PairTokenCompleteFunct onComplete, ErrorFunct onError )
PassiveRendezvousDevice
WEAVE_ERROR PassiveRendezvousDevice( void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
PassiveRendezvousDevice
WEAVE_ERROR PassiveRendezvousDevice( const char *pairingCode, void *appReqState, CompleteFunct onComplete, ErrorFunct onError, StartFunct onStart )
PassiveRendezvousDevice
WEAVE_ERROR PassiveRendezvousDevice( const uint8_t *accessToken, uint32_t accessTokenLen, void *appReqState, CompleteFunct onComplete, ErrorFunct onError )
پینگ
l10n-placeholder49پینگ
l10n-placeholder50اتصال مجدد دستگاه
l10n-placeholder51RegisterServicePairAccount
l10n-placeholder52RemotePassiveRendezvous
l10n-placeholder53RemotePassiveRendezvous
l10n-placeholder54RemotePassiveRendezvous
l10n-placeholder55RemoveNetwork
l10n-placeholder56Rendezvous Device
l10n-placeholder57Rendezvous Device
l10n-placeholder58Rendezvous Device
l10n-placeholder59Rendezvous Device
l10n-placeholder60ResetConfig
l10n-placeholder61ScanNetworks
l10n-placeholder62SetAutoReconnect
l10n-placeholder63SetConnectTimeout
l10n-placeholder64SetConnectionClosedCallback
l10n-placeholder65SetRendezvousAddress
l10n-placeholder66SetRendezvousAddress
l10n-placeholder67SetRendezvousLinkLocal
l10n-placeholder68SetRendezvousMode
l10n-placeholder69SetUseAccessToken
l10n-placeholder70SetWiFiRendezvousAddress
l10n-placeholder71SetWirelessRegulatoryConfig
l10n-placeholder72خاموش شدن
l10n-placeholder73StartDeviceEnumeration
l10n-placeholder74StartSystemTest
l10n-placeholder75StopDeviceEnumeration
l10n-placeholder76StopSystemTest
l10n-placeholder77TestNetworkConnectivity
l10n-placeholder78UnpairToken
l10n-placeholder79UnregisterService
l10n-placeholder80به روز رسانی شبکه
l10n-placeholder81UpdateService
l10n-placeholder82WeaveDeviceManager
l10n-placeholder83توابع استاتیک عمومی
AddNodeToList
l10n-placeholder84IsNodeInList
l10n-placeholder85IsValidPairingCode
l10n-placeholder86جز در مواردی که غیر از این ذکر شده باشد، محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است و نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است. Thread علامت تجاری ثبتشده Thread Group, Inc است.
تاریخ آخرین بهروزرسانی 2020-08-28 بهوقت ساعت هماهنگ جهانی.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]