nl::Weave::Profiles::DeviceDescription
This namespace includes all interfaces within Weave for the Weave Device Description profile.
Summary
Functions |
|
---|---|
MatchTargetFabricId(uint64_t fabricId, uint64_t targetFabricId)
|
NL_DLL_EXPORT bool
Compare two fabric IDs to determine if they match (considering wildcard values).
|
Classes |
|
---|---|
nl:: |
Client object for issuing Device Description requests. |
nl:: |
Server object for responding to Device Description requests. |
nl:: |
Represents criteria use to select devices in the IdentifyDevice protocol. |
nl:: |
Parsed form of an IdentifyRequest Message. |
nl:: |
Parsed form of an IdentifyResponse Message. |
nl:: |
|
nl:: |
|
nl:: |
Contains descriptive information about a Weave device. |
Enumerations
@177
@177
@178
@178
Message Types for the Device Description Profile.
@179
@179
Data Element Tags for the Device Description Profile.
Properties | |
---|---|
kTag_DeviceFeature_HomeAlarmLinkCapable
|
[ boolean ] Indicates a Nest Protect that supports connection to a home alarm panel. Feature Tag |
kTag_DeviceFeature_LinePowered
|
[ boolean ] Indicates a device that requires line power. Feature Tag |
kTag_DeviceId
|
[ uint, 2^64 max ] Weave device ID. Context-specific Tag |
kTag_FabricId
|
[ uint, 2^64 max ] ID of Weave fabric to which the device belongs. Context-specific Tag |
kTag_ManufacturingDate
|
[ uint, range 1-65535 ] Calendar date of manufacture in encoded form. Context-specific Tag |
kTag_PairingCode
|
[ UTF-8 string, len 6-16 ] The pairing code for the device. Context-specific Tag |
kTag_PairingCompatibilityVersionMajor
|
[ uint, range 1-65535 ] Pairing software compatibility major version. Context-specific Tag |
kTag_PairingCompatibilityVersionMinor
|
[ uint, range 1-65535 ] Pairing software compatibility minor version. Context-specific Tag |
kTag_Primary802154MACAddress
|
[ byte string, len = 8 ] MAC address for device's primary 802.15.4 interface. Context-specific Tag |
kTag_PrimaryWiFiMACAddress
|
[ byte string, len = 6 ] MAC address for device's primary WiFi interface. Context-specific Tag |
kTag_ProductId
|
[ uint, range 1-65535 ] Code identifying product. Context-specific Tag |
kTag_ProductRevision
|
[ uint, range 1-65535 ] Code identifying product revision. Context-specific Tag |
kTag_RendezvousWiFiESSID
|
[ UTF-8 string, len 1-32 ] ESSID for device's WiFi rendezvous network. Context-specific Tag. |
kTag_RendezvousWiFiESSIDSuffix
|
[ UTF-8 string, len 1-32 ] ESSID suffix for device's WiFi rendezvous network. Context-specific Tag. |
kTag_SerialNumber
|
[ UTF-8 string, len 1-32 ] Device serial number. Context-specific Tag |
kTag_SoftwareVersion
|
[ UTF-8 string, len 1-32 ] Version of software on the device. Context-specific Tag |
kTag_VendorId
|
[ uint, range 1-65535 ] Code identifying product vendor. Context-specific Tag |
kTag_WeaveDeviceDescriptor
|
Structure containing information describing a Weave device. Top-level Tag |
TargetDeviceModes
TargetDeviceModes
Bit field (32-bits max) identifying which devices should respond to a LocateRequest Message based on their current mode.
Note that the modes defined here are intended to be general such that they can be applied to a variety of device types.
Properties | |
---|---|
kTargetDeviceMode_Any
|
Locate all devices regardless of mode. |
kTargetDeviceMode_UserSelectedMode
|
Locate all devices in 'user-selected' mode that is, where the device has been directly identified by a user by pressing a button (or equivalent). |
TargetFabricIds
TargetFabricIds
Special target fabric IDs.
Properties | |
---|---|
kTargetFabricId_Any
|
Specifies that all devices should respond regardless of fabric membership. |
kTargetFabricId_AnyFabric
|
Specifies that only devices that __are_ a member of a fabric should respond. |
kTargetFabricId_NotInFabric
|
Specifies that only devices that are not a member of a fabric should respond. |
Functions
MatchTargetFabricId
NL_DLL_EXPORT bool MatchTargetFabricId( uint64_t fabricId, uint64_t targetFabricId )
Compare two fabric IDs to determine if they match (considering wildcard values).
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|