Device grouping: The protocol changes

Back on 6/22 in this post I mused about adding a group parameter to the Device class and into the corresponding config file entry. At some point over the last week (actually it was 7/4 according to git) I made the configuration file changes to add the groups.

Tonight I added the group to the DEVICE network thread command, when sent from plcd. It now reads


And consumers of the device command can use the group parameter to gather similarly grouped devices together, or it can be ignored and present the devices as a single list.

The unix graphical client uses the group to build out a tree view of the devices, the web client generates separate tables of the devices.