Enumerating command classes using the c-library fail
Posted: 06 Aug 2015 15:27
Hi!
I'm currently working with the zway c-library to prototype some zwave functionality. I however have some problems scanning which command classes a particular device and instance supports.
I use the zway_devices_list -> zway_instances_list -> zway_command_classes_list to get information on what devices are available. (Is this an acceptable way to enumerate the device tree?)
Everything seems to work ok but for a particular device i don't get all command classes that is reported when i run the zway-server and the expert UI.
The device in question is an Aeotech Smart Switch. The above code reports the command classes
20 56 5e 72 86 98
while the expert UI says
"Basic, SwitchBinary, SwitchAll, SceneActivation, SceneActuatorConf, Meter, CRC16, AssociationGroupInformation, ZWavePlusInfo, Configuration, ManufacturerSpecific, PowerLevel, FirmwareUpdate, Association, Version, Security, "
How come i miss all these commandclasses when using zway_command_classes_list?
Code is loosely based on the example code provided for the clib api.
I'm currently working with the zway c-library to prototype some zwave functionality. I however have some problems scanning which command classes a particular device and instance supports.
I use the zway_devices_list -> zway_instances_list -> zway_command_classes_list to get information on what devices are available. (Is this an acceptable way to enumerate the device tree?)
Everything seems to work ok but for a particular device i don't get all command classes that is reported when i run the zway-server and the expert UI.
The device in question is an Aeotech Smart Switch. The above code reports the command classes
20 56 5e 72 86 98
while the expert UI says
"Basic, SwitchBinary, SwitchAll, SceneActivation, SceneActuatorConf, Meter, CRC16, AssociationGroupInformation, ZWavePlusInfo, Configuration, ManufacturerSpecific, PowerLevel, FirmwareUpdate, Association, Version, Security, "
How come i miss all these commandclasses when using zway_command_classes_list?
Code is loosely based on the example code provided for the clib api.