 | ZWManagerGetNumGroups Method |
Gets the number of association groups reported by this node.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic byte GetNumGroups(
uint homeId,
byte nodeId
)
Public Function GetNumGroups (
homeId As UInteger,
nodeId As Byte
) As Byte
public:
virtual unsigned char GetNumGroups(
[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 whose groups we are interested in.
Return Value
Type:
ByteThe number of groups.
RemarksIn 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 AlsoReference
ZWManager.GetAssociations(UInt32, Byte, Byte, Byte*)