Represents a single button on a BaseStation
Represents the types of commands that a BaseStationButton can perform.
Creates a default constructed BaseStationButton object.
BaseStationButton( |
| ) |
Creates a BaseStationButton object.
cmd Command | The BaseStationButton::Command to set. |
nodeAddress uint16 | The node address to target from the button's command, if applicable (defaults to 0, no node). |
Gets the Command that is currently set in this object.
A BaseStationButton::Command that is currently set in this object.
void command( |
| ) |
Sets the Command of this BaseStationButton object.
cmd | The BaseStationButton::Command to set. |
Gets the node address that the button's command targets that is currently set in this object. This is ignored if the command doesn't pertain to a node. Note: To target all nodes on the frequency, set the node address to 65535.
The node address that the button's command targets.
void nodeAddress( |
| ) |
Sets the node address to target from the button's command. This is ignored if the command doesn't pertain to a node. Note: To target all nodes on the frequency, set the node address to 65535.
address uint16 | The node address to target from the button's command. |