Click or drag to resize

ZWManagerGetNumGroups Method

Gets the number of association groups reported by this node.

Namespace:  OpenZWave
Assembly:  OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntax
public byte GetNumGroups(
	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 whose groups we are interested in.

Return Value

Type: Byte
The number of groups.
Remarks
In Z-Wave, groups are numbered starting from one. For example, if a call to GetNumGroups returns 4, the _groupIdx value to use in calls to GetAssociations, AddAssociation and RemoveAssociation will be a number between 1 and 4.
See Also

Reference

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