nl:: বুনা:: ডিভাইস ম্যানেজার:: WeaveDeviceManager
সারাংশ
উত্তরাধিকার
এর থেকে উত্তরাধিকারসূত্রে পাওয়া যায়: nl::Weave::Profiles::Security::CASE::WeaveCASEAuthDelegate পাবলিক ফাংশন |
---|
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 |
পাবলিক প্রকার
পাবলিক বৈশিষ্ট্য
নেটওয়ার্ক যোগ করুন
AddNetworkCompleteFunct AddNetwork
অ্যাপস্টেট
void * AppState
ডিভাইস গণনা
DeviceEnumerationResponseFunct DeviceEnumeration
সাধারণ
CompleteFunct General
GetCameraAuthData
GetCameraAuthDataCompleteFunct GetCameraAuthData
GetFabricConfig
GetFabricConfigCompleteFunct GetFabricConfig
GetNetworks
GetNetworksCompleteFunct GetNetworks
রেন্ডেজভাসমোড পান
GetRendezvousModeCompleteFunct GetRendezvousMode
GetWirelessRegulatory Config
GetWirelessRegulatoryConfigCompleteFunct GetWirelessRegulatoryConfig
ডিভাইস সনাক্ত করুন
IdentifyDeviceCompleteFunct IdentifyDevice
পেয়ার টোকেন
PairTokenCompleteFunct PairToken
স্ক্যান নেটওয়ার্ক
NetworkScanCompleteFunct ScanNetworks
রাজ্য
enum nl::Weave::DeviceManager::WeaveDeviceManager::@366 State
আনপেয়ার টোকেন
UnpairTokenCompleteFunct UnpairToken
পাবলিক ফাংশন
নেটওয়ার্ক যোগ করুন
WEAVE_ERROR AddNetwork(
const NetworkInfo *netInfo,
void *appReqState,
AddNetworkCompleteFunct onComplete,
ErrorFunct onError
)
আর্মফেলসেফ
WEAVE_ERROR ArmFailSafe(
uint8_t armMode,
uint32_t failSafeToken,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
বন্ধ
void Close(
bool graceful
)
ডিভাইস সংযোগ বন্ধ করুন
void CloseDeviceConnection()
ডিভাইস সংযোগ বন্ধ করুন
void CloseDeviceConnection(
bool graceful
)
কানেক্ট ডিভাইস
WEAVE_ERROR ConnectDevice(
uint64_t deviceId,
IPAddress deviceAddr,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
কানেক্ট ডিভাইস
WEAVE_ERROR ConnectDevice(
uint64_t deviceId,
IPAddress deviceAddr,
const char *pairingCode,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
কানেক্ট ডিভাইস
WEAVE_ERROR ConnectDevice(
uint64_t deviceId,
IPAddress deviceAddr,
const uint8_t *accessToken,
uint32_t accessTokenLen,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
ফ্যাব্রিক তৈরি করুন
WEAVE_ERROR CreateFabric(
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
সংযোগ মনিটর নিষ্ক্রিয় করুন
WEAVE_ERROR DisableConnectionMonitor(
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
নেটওয়ার্ক নিষ্ক্রিয় করুন
WEAVE_ERROR DisableNetwork(
uint32_t networkId,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
নিরস্ত্র ফেইল সেফ
WEAVE_ERROR DisarmFailSafe(
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
সংযোগ মনিটর সক্ষম করুন
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
)
GetDeviceId
WEAVE_ERROR GetDeviceId(
uint64_t & deviceId
)
GetFabricConfig
WEAVE_ERROR GetFabricConfig(
void *appReqState,
GetFabricConfigCompleteFunct onComplete,
ErrorFunct onError
)
GetLastNetworkProvisioning Result
WEAVE_ERROR GetLastNetworkProvisioningResult(
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
GetNetworks
WEAVE_ERROR GetNetworks(
uint8_t flags,
void *appReqState,
GetNetworksCompleteFunct onComplete,
ErrorFunct onError
)
রেন্ডেজভাসমোড পান
WEAVE_ERROR GetRendezvousMode(
void *appReqState,
GetRendezvousModeCompleteFunct onComplete,
ErrorFunct onError
)
GetWirelessRegulatory Config
WEAVE_ERROR GetWirelessRegulatoryConfig(
void *appReqState,
GetWirelessRegulatoryConfigCompleteFunct onComplete,
ErrorFunct onError
)
ডিভাইস সনাক্ত করুন
WEAVE_ERROR IdentifyDevice(
void *appReqState,
IdentifyDeviceCompleteFunct onComplete,
ErrorFunct onError
)
সংযুক্ত
bool IsConnected() const
বিদ্যমান ফ্যাব্রিকে যোগ দিন
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
)
পেয়ার টোকেন
WEAVE_ERROR PairToken(
const uint8_t *pairingToken,
uint32_t pairingTokenLen,
void *appReqState,
PairTokenCompleteFunct onComplete,
ErrorFunct onError
)
প্যাসিভ রেন্ডেজভাস ডিভাইস
WEAVE_ERROR PassiveRendezvousDevice(
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
প্যাসিভ রেন্ডেজভাস ডিভাইস
WEAVE_ERROR PassiveRendezvousDevice(
const char *pairingCode,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError,
StartFunct onStart
)
প্যাসিভ রেন্ডেজভাস ডিভাইস
WEAVE_ERROR PassiveRendezvousDevice(
const uint8_t *accessToken,
uint32_t accessTokenLen,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
পিং
WEAVE_ERROR Ping(
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
পিং
WEAVE_ERROR Ping(
void *appReqState,
int32_t payloadSize,
CompleteFunct onComplete,
ErrorFunct onError
)
ReconnectDevice
WEAVE_ERROR ReconnectDevice(
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
RegisterServicePairAccount
WEAVE_ERROR 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
)
রিমোট প্যাসিভ রেন্ডেজভাস
WEAVE_ERROR 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
)
রিমোট প্যাসিভ রেন্ডেজভাস
WEAVE_ERROR RemotePassiveRendezvous(
const IPAddress rendezvousDeviceAddr,
const char *pairingCode,
const uint16_t rendezvousTimeoutSec,
const uint16_t inactivityTimeoutSec,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
রিমোট প্যাসিভ রেন্ডেজভাস
WEAVE_ERROR RemotePassiveRendezvous(
const IPAddress rendezvousDeviceAddr,
const uint16_t rendezvousTimeoutSec,
const uint16_t inactivityTimeoutSec,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
নেটওয়ার্ক সরান
WEAVE_ERROR RemoveNetwork(
uint32_t networkId,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
রেন্ডেজভাস ডিভাইস
WEAVE_ERROR RendezvousDevice(
const char *pairingCode,
const IdentifyDeviceCriteria & deviceCriteria,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
রেন্ডেজভাস ডিভাইস
WEAVE_ERROR RendezvousDevice(
const uint8_t *accessToken,
uint32_t accessTokenLen,
const IdentifyDeviceCriteria & deviceCriteria,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
রেন্ডেজভাস ডিভাইস
WEAVE_ERROR RendezvousDevice(
const char *pairingCode,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
রিসেট কনফিগ
WEAVE_ERROR ResetConfig(
uint16_t resetFlags,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
স্ক্যান নেটওয়ার্ক
WEAVE_ERROR ScanNetworks(
NetworkType networkType,
void *appReqState,
NetworkScanCompleteFunct onComplete,
ErrorFunct onError
)
অটোরিকানেক্ট সেট করুন
WEAVE_ERROR SetAutoReconnect(
bool autoReconnect
)
কানেক্টটাইমআউট সেট করুন
WEAVE_ERROR SetConnectTimeout(
uint32_t timeoutMS
)
সংযোগ বন্ধ কলব্যাক সেট করুন
void SetConnectionClosedCallback(
ConnectionClosedFunc onConnecionClosedFunc,
void *onConnecionClosedAppReq
)
রেন্ডেজভাস ঠিকানা সেট করুন
WEAVE_ERROR SetRendezvousAddress(
IPAddress addr,
InterfaceId rendezvousIntf
)
রেন্ডেজভাস লিঙ্কলোকাল সেট করুন
WEAVE_ERROR SetRendezvousLinkLocal(
bool RendezvousLinkLocal
)
রেন্ডেজভাসমোড সেট করুন
WEAVE_ERROR SetRendezvousMode(
uint16_t modeFlags,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
সেটUseAccessToken
WEAVE_ERROR SetUseAccessToken(
bool useAccessToken
)
সেটওয়্যারলেস রেগুলেটরি কনফিগারেশন
WEAVE_ERROR SetWirelessRegulatoryConfig(
const WirelessRegConfig *regConfig,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
স্টার্টডিভাইস গণনা
WEAVE_ERROR StartDeviceEnumeration(
void *appReqState,
const IdentifyDeviceCriteria & deviceCriteria,
DeviceEnumerationResponseFunct onResponse,
ErrorFunct onError
)
StartSystemTest
WEAVE_ERROR StartSystemTest(
void *appReqState,
uint32_t profileId,
uint32_t testId,
CompleteFunct onComplete,
ErrorFunct onError
)
স্টপডিভাইস গণনা
void StopDeviceEnumeration()
StopSystemTest
WEAVE_ERROR StopSystemTest(
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
টেস্ট নেটওয়ার্ক সংযোগ
WEAVE_ERROR TestNetworkConnectivity(
uint32_t networkId,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
আনপেয়ার টোকেন
WEAVE_ERROR UnpairToken(
void *appReqState,
UnpairTokenCompleteFunct onComplete,
ErrorFunct onError
)
আনরেজিস্টার সার্ভিস
WEAVE_ERROR UnregisterService(
uint64_t serviceId,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
আপডেট নেটওয়ার্ক
WEAVE_ERROR UpdateNetwork(
const NetworkInfo *netInfo,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
আপডেট সার্ভিস
WEAVE_ERROR UpdateService(
uint64_t serviceId,
const uint8_t *serviceConfig,
uint16_t serviceConfigLen,
void *appReqState,
CompleteFunct onComplete,
ErrorFunct onError
)
WeaveDeviceManager
WeaveDeviceManager()
পাবলিক স্ট্যাটিক ফাংশন
AddNodeToList
WEAVE_ERROR AddNodeToList(
uint64_t nodeId,
uint64_t *& list,
uint32_t & listLen,
uint32_t & listMaxLen,
uint32_t initialMaxLen
)
IsNodeInList
bool IsNodeInList(
uint64_t nodeId,
uint64_t *list,
uint32_t listLen
)
IsValidPairingCode
bool IsValidPairingCode(
const char *pairingCode
)