Click or drag to resize

ZWManagerGetNodeProductId Method

Get the product ID of a device.

Namespace:  OpenZWave
Assembly:  OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntax
public string GetNodeProductId(
	uint homeId,
	byte nodeId
)

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: String
A 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