nl::Weave::DeviceManager

摘要

列舉

ProductWildcardId 列舉

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
)