 | ZWManagerSetNodeProductName Method |
Set the product name of a device.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic void SetNodeProductName(
uint homeId,
byte nodeId,
string productName
)
Public Sub SetNodeProductName (
homeId As UInteger,
nodeId As Byte,
productName As String
)
public:
virtual void SetNodeProductName(
[InAttribute] unsigned int homeId,
[InAttribute] unsigned char nodeId,
[InAttribute] String^ productName
) 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. - productName
- Type: SystemString
A string containing the node's product name.
Remarks
The product name would normally be handled by the Manufacturer Specific commmand class,
taking the product Type and ID reported by the device and using it to look up the name from the
manufacturer_specific.xml file in the OpenZWave config folder.
However, there are some devices that do not support the command class, so to enable the user
to manually set the name, it is stored with the node data and accessed via this method rather
than being reported via a command class Value object.
See Also