Click or drag to resize

ZWManagerRemoveAssociation Method

Removes a node from an association group.

Namespace:  OpenZWave
Assembly:  OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntax
public void RemoveAssociation(
	uint homeId,
	byte nodeId,
	byte groupIdx,
	byte targetNodeId
)

Parameters

homeId
Type: SystemUInt32
The Home ID of the Z-Wave controller that manages the node.
nodeId
Type: SystemByte
The ID of the node whose associations are to be changed.
groupIdx
Type: SystemByte
One-based index of the group (because Z-Wave product manuals use one-based group numbering).
targetNodeId
Type: SystemByte
Identifier for the node that will be removed from the association group.
Remarks
Due to the possibility of a device being asleep, the command is assumed to suceeed, and the association data held in this class is updated directly. This will be reverted by a future Association message from the device if the Z-Wave message actually failed to get through. Notification callbacks will be sent in both cases.
See Also

Reference

ZWManager.GetAssociations(UInt32, Byte, Byte, Byte*)