 | ZWManagerGetNodeProductId Method |
Get the product ID of a device.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic string GetNodeProductId(
uint homeId,
byte nodeId
)
Public Function GetNodeProductId (
homeId As UInteger,
nodeId As Byte
) As String
public:
virtual String^ GetNodeProductId(
[InAttribute] unsigned int homeId,
[InAttribute] unsigned char nodeId
) sealed
Parameters
- homeId
- Type: SystemUInt32
The Home ID of the Z-Wave controller that manages the node. - nodeId
- Type: SystemByte
The ID of the node to query.
Return Value
Type:
StringA string containing the node's product ID, or an empty string if the manufactuer
specific command class is not supported by the device.
Remarks
The product ID is a four digit hex code and would normally be handled by the Manufacturer Specific
commmand class, but not all devices support it. Although the value reported by this method will
be an empty string if the command class is not supported and cannot be set by the user, the product
ID is still stored with the node data (rather than being reported via a command class Value object)
to retain a consistent approach with the other manufacturer specific data.
See Also