nl:: بافت:: DeviceManager

خلاصه

شمارش ها

ProductWildcardId enum

Typedefs

AddNetworkCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, uint32_t networkId) typedef
void(*
CompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState) typedef
void(*
ConnectionClosedFunc )(WeaveDeviceManager *deviceMgr, void *appReqState, WeaveConnection *con, WEAVE_ERROR conErr) typedef
void(*
DeviceEnumerationResponseFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, const DeviceDescription::WeaveDeviceDescriptor *devdesc, IPAddress deviceAddr, InterfaceId deviceIntf) typedef
void(*
ErrorFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, WEAVE_ERROR err, DeviceStatus *devStatus) typedef
void(*
GetCameraAuthDataCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, const char *macAddress, const char *authData) typedef
void(*
GetFabricConfigCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, const uint8_t *fabricConfig, uint32_t fabricConfigLen) typedef
void(*
GetNetworksCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t netCount, const NetworkInfo *netInfoList) typedef
void(*
GetRendezvousModeCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t modeFlags) typedef
void(*
GetWirelessRegulatoryConfigCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, const WirelessRegConfig *regConfig) typedef
void(*
IdentifyDeviceCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, const DeviceDescription::WeaveDeviceDescriptor *devdesc) typedef
void(*
NetworkScanCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, uint16_t netCount, const NetworkInfo *netInfoList) typedef
void(*
PairTokenCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, const uint8_t *tokenPairingBundle, uint32_t tokenPairingBunldeLen) typedef
void(*
StartFunct )(WeaveDeviceManager *deviceMgr, void *appReqState, WeaveConnection *con) typedef
void(*
UnpairTokenCompleteFunct )(WeaveDeviceManager *deviceMgr, void *appReqState) typedef
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

Typedefs

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
)