nl::Weave::DeviceManager

ملخّص

عمليات التعداد

ProductWildcardId تعداد

تعريف الأنواع

AddNetworkCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, uint32_t networkId) تعريف الكتابة
void(*
CompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState) تعريف الكتابة
void(*
ConnectionClosedFunc)(WeaveDeviceManager *deviceMgr, void *appReqState, WeaveConnection *con, WEAVE_ERROR conErr) تعريف الكتابة
void(*
DeviceEnumerationResponseFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const DeviceDescription::WeaveDeviceDescriptor *devdesc, IPAddress deviceAddr, InterfaceId deviceIntf) تعريف الكتابة
void(*
ErrorFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, WEAVE_ERROR err, DeviceStatus *devStatus) تعريف الكتابة
void(*
GetCameraAuthDataCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const char *macAddress, const char *authData) تعريف الكتابة
void(*
GetFabricConfigCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const uint8_t *fabricConfig, uint32_t fabricConfigLen) تعريف الكتابة
void(*
GetNetworksCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t netCount, const NetworkInfo *netInfoList) تعريف الكتابة
void(*
GetRendezvousModeCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t modeFlags) تعريف الكتابة
void(*
GetWirelessRegulatoryConfigCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const WirelessRegConfig *regConfig) تعريف الكتابة
void(*
IdentifyDeviceCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const DeviceDescription::WeaveDeviceDescriptor *devdesc) تعريف الكتابة
void(*
NetworkScanCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t netCount, const NetworkInfo *netInfoList) تعريف الكتابة
void(*
PairTokenCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const uint8_t *tokenPairingBundle, uint32_t tokenPairingBunldeLen) تعريف الكتابة
void(*
StartFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, WeaveConnection *con) تعريف الكتابة
void(*
UnpairTokenCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState) تعريف الكتابة
void(*

المتغيرات

ENUMERATED_NODES_LIST_INITIAL_SIZE = 256
const uint32_t
MAX_ENUMERATED_DEVICES = 256
const uint16_t
kResponseTimeoutMsec = 15000

الدوال

IsProductWildcard(uint16_t productId)
bool

صفوف

nl::Weave::DeviceManager::DeviceStatus
nl::Weave::DeviceManager::TraitSchemaDirectory
nl::Weave::DeviceManager::WeaveDeviceManager

عمليات التعداد

ProductWildcardId

 ProductWildcardId

تعريف الأنواع

AddNetworkCompleteFunct

void(* AddNetworkCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, uint32_t networkId)

CompleteFunct

void(* CompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState)

ConnectionClosedFunc

void(* ConnectionClosedFunc)(WeaveDeviceManager *deviceMgr, void *appReqState, WeaveConnection *con, WEAVE_ERROR conErr)

DeviceEnumerationResponseFunct

void(* DeviceEnumerationResponseFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const DeviceDescription::WeaveDeviceDescriptor *devdesc, IPAddress deviceAddr, InterfaceId deviceIntf)

ErrorFunct

void(* ErrorFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, WEAVE_ERROR err, DeviceStatus *devStatus)

GetCameraAuthDataCompleteFunct

void(* GetCameraAuthDataCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const char *macAddress, const char *authData)

GetFabricConfigCompleteFunct

void(* GetFabricConfigCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const uint8_t *fabricConfig, uint32_t fabricConfigLen)

GetNetworksCompleteFunct

void(* GetNetworksCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t netCount, const NetworkInfo *netInfoList)

GetRendezvousModeCompleteFunct

void(* GetRendezvousModeCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t modeFlags)

GetWirelessRegulatoryConfigCompleteFunct

void(* GetWirelessRegulatoryConfigCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const WirelessRegConfig *regConfig)

IdentifyDeviceCompleteFunct

void(* IdentifyDeviceCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const DeviceDescription::WeaveDeviceDescriptor *devdesc)

NetworkScanCompleteFunct

void(* NetworkScanCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t netCount, const NetworkInfo *netInfoList)

PairTokenCompleteFunct

void(* PairTokenCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, const uint8_t *tokenPairingBundle, uint32_t tokenPairingBunldeLen)

StartFunct

void(* StartFunct)(WeaveDeviceManager *deviceMgr, void *appReqState, WeaveConnection *con)

UnpairTokenCompleteFunct

void(* UnpairTokenCompleteFunct)(WeaveDeviceManager *deviceMgr, void *appReqState)

المتغيرات

ENUMERATED_NODES_LIST_INITIAL_SIZE

const uint32_t ENUMERATED_NODES_LIST_INITIAL_SIZE = 256

MAX_ENUMERATED_DEVICES

const uint16_t MAX_ENUMERATED_DEVICES = 256

kResponseTimeoutMsec

const nl::Weave::ExchangeContext::Timeout kResponseTimeoutMsec = 15000

الدوال

IsProductWildcard

bool IsProductWildcard(
  uint16_t productId
)