Contains logic for the Arm For Datalogging Node command.
static ByteStream buildCommand( |
| ) |
Builds the ArmForDatalogging command packet.
nodeAddress | The address of the Node to build the command for. |
message const std::string& | A message, up to 50 characters, to send with the arm command. This message can be downloaded with the data. Will be trimmed to 50 chars if longer. (Default of "") |
A ByteStream containing the command packet.
Handles the response to the ArmForDatalogging Node command
Response( |
| ) |
Creates an ArmForDatalogging Response object
nodeAddress | the node address to check for |
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response |
virtual bool match( |
| ) override |
Checks if the WirelessPacket passed in matches the expected response pattern's bytes
packet const WirelessPacket& | The WirelessPacket in which to try to find the pattern |
true if the packet matches a response pattern, false otherwise