get vs set command nomenclature, eg report? #28
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The current nomenclature for getting status of thermostat is a command with no arguments while setting is command with arguments. This obviously works but wasn't initially obvious to me when I started working with Thermostat. I've seen it's common in serial interfaces to append
?
to get requests. For examplereport?
andpwm?
. I don't feel strongly about this. Just a suggestion.I did not want users to have to learn different syntaxes for getting and setting configuration. Therefore commands without parameters yield information quickly.