จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ

nl::Weave::DeviceManager

สรุป

การแจกแจง

ProductWildcardId enum

ประเภทคําจํากัดความ

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

ประเภทคําจํากัดความ

เพิ่มเครือข่ายที่เสร็จสิ้น

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

เสร็จสมบูรณ์

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

ConnectionClosedFunc

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)

ข้อผิดพลาด Funct

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

Getกล้องAuthDataCompleteFunct

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)

รับการกํากับดูแลแบบไร้สายแบบไร้สาย

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)

PairTokenCompleteFunct

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

สตาร์ทอัพ

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

UnpairTokenCompleteFunct

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

ตัวแปร

ขนาดย่อ

const uint32_t ENUMERATED_NODES_LIST_INITIAL_SIZE = 256

อุปกรณ์_สูงสุด

const uint16_t MAX_ENUMERATED_DEVICES = 256

kResponseTimeoutMsec

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

ฟังก์ชัน

IsProductWildcard

bool IsProductWildcard(
  uint16_t productId
)