Нлвеаведевицеманажер
Краткое содержание
Наследование
Наследуется от: NSObjectХарактеристики | |
---|---|
BleConnectionPreparationCompleteHandler | PreparationCompleteHandler |
blePeripheral | CBPeripheral * |
name | NSString * |
owner | id |
resultCallbackQueue | dispatch_queue_t |
Общественные функции | |
---|---|
Close:failure: (WDMCompletionBlock completionHandler, WDMFailureBlock failureHandler) | virtual void Аккуратно закройте все соединения. |
GetDeviceAddress: (NSMutableString *strAddr) | virtual WEAVE_ERROR |
GetDeviceId: (uint64_t *deviceId) | virtual WEAVE_ERROR |
GetDeviceMgrPtr: (long long *deviceMgrPtr) | virtual WEAVE_ERROR |
NS_UNAVAILABLE () | virtual instancetype Отключите инициализатор по умолчанию, унаследованный от NSObject. |
Shutdown: (WDMCompletionBlock completionHandler) | virtual void Насильно освободите все ресурсы и уничтожьте все ссылки. |
addNetwork:completion:failure: ( NLNetworkInfo *nlNetworkInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
armFailSafe:failSafeToken:completion:failure: (uint8_t armMode, uint32_t failSafeToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
connectBle:completion:failure: (CBPeripheral *peripheral, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
connectBleWithDeviceAccessToken:accessToken:completion:failure: (CBPeripheral *peripheral, NSString *accessToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
connectBleWithPairingCode:pairingCode:completion:failure: (CBPeripheral *peripheral, NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
connectDevice:deviceAddress:completion:failure: (uint64_t deviceId, NSString *deviceAddress, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
createFabric:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
disableConnectionMonitor:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
disableNetwork:completion:failure: (NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
disarmFailSafe:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
enableConnectionMonitor:timeout:completion:failure: (NSInteger intervalMs, NSInteger timeoutMs, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
enableNetwork:completion:failure: (NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
getCameraAuthData:completion:failure: (NSString *nonce, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
getFabricConfig:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
getLastNetworkProvisioningResult:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
getNetworks:completion:failure: (uint8_t flags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
getRendezvousMode:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
getWirelessRegulatoryConfig:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
identifyDevice:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
init:weaveWorkQueue:appCallbackQueue:exchangeMgr:securityMgr: (NSString *name, dispatch_queue_t weaveWorkQueue, dispatch_queue_t appCallbackQueue, nl::Weave::WeaveExchangeManager *exchangeMgr, nl::Weave::WeaveSecurityManager *NS_DESIGNATED_INITIALIZER) | virtual instancetype |
isConnected () | virtual BOOL |
isValidPairingCode: (NSString *pairingCode) | virtual BOOL |
joinExistingFabric:completion:failure: (NSData *fabricConfig, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
leaveFabric:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
pairToken:completion:failure: (NSData *pairingToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
passiveRendezvousWithCompletion:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
passiveRendezvousWithDeviceAccessToken:completion:failure: (NSString *accessToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
passiveRendezvousWithDevicePairingCode:completion:failure: (NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
ping:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
reconnectDevice:failure: (WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
registerServicePairAccount:completion:failure: ( NLServiceInfo *nlServiceInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
remotePassiveRendezvousWithDevicePairingCode:IPAddress:rendezvousTimeout:inactivityTimeout:completion:failure: (NSString *pairingCode, NSString *IPAddress, uint16_t rendezvousTimeoutSec, uint16_t inactivityTimeoutSec, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
removeNetwork:completion:failure: (NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
rendezvousWithDeviceAccessToken:identifyDeviceCriteria:completion:failure: (NSString *accessToken, NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
rendezvousWithDevicePairingCode:completion:failure: (NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
rendezvousWithDevicePairingCode:identifyDeviceCriteria:completion:failure: (NSString *pairingCode, NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
resetConfig:completion:failure: (uint16_t resetFlags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
scanNetworks:completion:failure: (NLNetworkType networkType, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
setAutoReconnect: (BOOL autoReconnect) | virtual WEAVE_ERROR |
setRendezvousAddress: (NSString *aRendezvousAddress) | virtual NSInteger |
setRendezvousMode:completion:failure: (uint16_t rendezvousFlags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
setWirelessRegulatoryConfig:completion:failure: ( NLWirelessRegConfig *nlWirelessRegConfig, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
startDeviceEnumerationWithIdentifyDeviceCriteria:completion:failure: ( NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
startSystemTest:testId:completion:failure: (uint32_t profileId, uint32_t testId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
statusReportToString:statusCode: (NSUInteger profileId, NSInteger statusCode) | virtual NSString * |
stopDeviceEnumeration () | virtual void |
testNetworkConnectivity:completion:failure: (NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
toErrorString: ( WEAVE_ERROR err) | virtual NSString * |
unregisterService:completion:failure: (uint64_t serviceId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
updateNetwork:completion:failure: ( NLNetworkInfo *netInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
updateService:completion:failure: ( NLServiceInfo *nlServiceInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock) | virtual void |
Характеристики
BleConnectionPreparationCompleteHandler
PreparationCompleteHandler BleConnectionPreparationCompleteHandler
bleПериферийное устройство
CBPeripheral * blePeripheral
имя
NSString * name
владелец
id owner
РезультатОчередь обратного вызова
dispatch_queue_t resultCallbackQueue
Общественные функции
Закрыть:ошибка:
virtual void Close:failure:( WDMCompletionBlock completionHandler, WDMFailureBlock failureHandler )
Аккуратно закройте все соединения.
После завершения диспетчер устройств будет готов к новому подключению.
Получить адрес устройства:
virtual WEAVE_ERROR GetDeviceAddress:( NSMutableString *strAddr )
GetDeviceId:
virtual WEAVE_ERROR GetDeviceId:( uint64_t *deviceId )
GetDeviceMgrPtr:
virtual WEAVE_ERROR GetDeviceMgrPtr:( long long *deviceMgrPtr )
NS_UNAVAILABLE
virtual instancetype NS_UNAVAILABLE()
Отключите инициализатор по умолчанию, унаследованный от NSObject.
Неисправность:
virtual void Shutdown:( WDMCompletionBlock completionHandler )
Насильно освободите все ресурсы и уничтожьте все ссылки.
Оживить этот диспетчер устройств после этого звонка нет возможности.
addNetwork:завершение:ошибка:
virtual void addNetwork:completion:failure:( NLNetworkInfo *nlNetworkInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
armFailSafe:failSafeToken:completion:failure:
virtual void armFailSafe:failSafeToken:completion:failure:( uint8_t armMode, uint32_t failSafeToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
ConnectBle: завершение: неудача:
virtual void connectBle:completion:failure:( CBPeripheral *peripheral, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
ConnectBleWithDeviceAccessToken:accessToken:завершение:ошибка:
virtual void connectBleWithDeviceAccessToken:accessToken:completion:failure:( CBPeripheral *peripheral, NSString *accessToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
ConnectBleWithPairingCode:pairingCode:завершение:сбой:
virtual void connectBleWithPairingCode:pairingCode:completion:failure:( CBPeripheral *peripheral, NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
ConnectDevice:deviceAddress:завершение:сбой:
virtual void connectDevice:deviceAddress:completion:failure:( uint64_t deviceId, NSString *deviceAddress, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
createFabric: ошибка:
virtual void createFabric:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
отключитьConnectionMonitor: сбой:
virtual void disableConnectionMonitor:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
отключитьСеть: завершение: сбой:
virtual void disableNetwork:completion:failure:( NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
снятие с охраныFailSafe: сбой:
virtual void disarmFailSafe:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
EnableConnectionMonitor: тайм-аут: завершение: сбой:
virtual void enableConnectionMonitor:timeout:completion:failure:( NSInteger intervalMs, NSInteger timeoutMs, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
EnableNetwork: завершение: сбой:
virtual void enableNetwork:completion:failure:( NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
getCameraAuthData:завершение:ошибка:
virtual void getCameraAuthData:completion:failure:( NSString *nonce, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
getFabricConfig: ошибка:
virtual void getFabricConfig:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
getLastNetworkProvisioningResult: ошибка:
virtual void getLastNetworkProvisioningResult:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
getNetworks:завершение:ошибка:
virtual void getNetworks:completion:failure:( uint8_t flags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
getRendezvousMode: ошибка:
virtual void getRendezvousMode:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
getWirelessRegulatoryConfig: ошибка:
virtual void getWirelessRegulatoryConfig:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
идентифицироватьУстройство: сбой:
virtual void identifyDevice:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
init:weaveWorkQueue:appCallbackQueue:exchangeMgr:securityMgr:
virtual instancetype init:weaveWorkQueue:appCallbackQueue:exchangeMgr:securityMgr:( NSString *name, dispatch_queue_t weaveWorkQueue, dispatch_queue_t appCallbackQueue, nl::Weave::WeaveExchangeManager *exchangeMgr, nl::Weave::WeaveSecurityManager *NS_DESIGNATED_INITIALIZER )
isConnected
virtual BOOL isConnected()
isValidPairingCode:
virtual BOOL isValidPairingCode:( NSString *pairingCode )
joinExistingFabric: завершение: сбой:
virtual void joinExistingFabric:completion:failure:( NSData *fabricConfig, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
оставитьFabric: провал:
virtual void leaveFabric:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
параТокен: завершение: сбой:
virtual void pairToken:completion:failure:( NSData *pairingToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
пассивныйRendezvousWithCompletion:провал:
virtual void passiveRendezvousWithCompletion:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
пассивныйRendezvousWithDeviceAccessToken: завершение: сбой:
virtual void passiveRendezvousWithDeviceAccessToken:completion:failure:( NSString *accessToken, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
пассивныйRendezvousWithDevicePairingCode: завершение: сбой:
virtual void passiveRendezvousWithDevicePairingCode:completion:failure:( NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
пинг: сбой:
virtual void ping:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
reconnectDevice: сбой:
virtual void reconnectDevice:failure:( WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
RegisterServicePairAccount:завершение:ошибка:
virtual void registerServicePairAccount:completion:failure:( NLServiceInfo *nlServiceInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
RemotePassiveRendezvousWithDevicePairingCode: IPAddress: rundezvousTimeout: inactivityTimeout: завершение: сбой:
virtual void remotePassiveRendezvousWithDevicePairingCode:IPAddress:rendezvousTimeout:inactivityTimeout:completion:failure:( NSString *pairingCode, NSString *IPAddress, uint16_t rendezvousTimeoutSec, uint16_t inactivityTimeoutSec, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
RemoveNetwork:завершение:ошибка:
virtual void removeNetwork:completion:failure:( NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
rendezvousWithDeviceAccessToken:identifyDeviceCriteria:завершение:сбой:
virtual void rendezvousWithDeviceAccessToken:identifyDeviceCriteria:completion:failure:( NSString *accessToken, NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
rendezvousWithDevicePairingCode: завершение: сбой:
virtual void rendezvousWithDevicePairingCode:completion:failure:( NSString *pairingCode, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
rendezvousWithDevicePairingCode:identifyDeviceCriteria:completion:failure:
virtual void rendezvousWithDevicePairingCode:identifyDeviceCriteria:completion:failure:( NSString *pairingCode, NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
сбросКонфигурация: завершение: сбой:
virtual void resetConfig:completion:failure:( uint16_t resetFlags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
scanNetworks:завершение:ошибка:
virtual void scanNetworks:completion:failure:( NLNetworkType networkType, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
УстановитьАвтоРеконнект:
virtual WEAVE_ERROR setAutoReconnect:( BOOL autoReconnect )
setRendezvousAddress:
virtual NSInteger setRendezvousAddress:( NSString *aRendezvousAddress )
setRendezvousMode:завершение:сбой:
virtual void setRendezvousMode:completion:failure:( uint16_t rendezvousFlags, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
setWirelessRegulatoryConfig:завершение:сбой:
virtual void setWirelessRegulatoryConfig:completion:failure:( NLWirelessRegConfig *nlWirelessRegConfig, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
startDeviceEnumerationWithIdentifyDeviceCriteria: завершение: сбой:
virtual void startDeviceEnumerationWithIdentifyDeviceCriteria:completion:failure:( NLIdentifyDeviceCriteria *identifyDeviceCriteria, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
startSystemTest:testId:завершение:сбой:
virtual void startSystemTest:testId:completion:failure:( uint32_t profileId, uint32_t testId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
statusReportToString:statusCode:
virtual NSString * statusReportToString:statusCode:( NSUInteger profileId, NSInteger statusCode )
стопдевицеенумератион
virtual void stopDeviceEnumeration()
testNetworkConnectivity:завершение:ошибка:
virtual void testNetworkConnectivity:completion:failure:( NLNetworkID networkId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
toErrorString:
virtual NSString * toErrorString:( WEAVE_ERROR err )
unregisterService: завершение: сбой:
virtual void unregisterService:completion:failure:( uint64_t serviceId, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
updateNetwork: завершение: сбой:
virtual void updateNetwork:completion:failure:( NLNetworkInfo *netInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )
updateService: завершение: сбой:
virtual void updateService:completion:failure:( NLServiceInfo *nlServiceInfo, WDMCompletionBlock completionBlock, WDMFailureBlock failureBlock )