Contains logic for the AutoCal Node command.
static ByteStream buildCommand_shmLink( |
| ) |
Builds the AutoCal command packet for the SHM-Link node.
nodeAddress | The address of the Node to build the command for. |
A ByteStream containing the command packet.
Handles the response to the LongPing Node command
Response( |
| ) |
Creates a AutoCal Response object
nodeAddress | The node address to check for. |
model | The WirelessModels::NodeModel of the Node we are expecting a response for. |
fwVersion const Version& | The firmware version of the Node we are expecting a response for. |
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response. |
The WirelessModels::NodeModel of the Node we are expecting a response for.
Whether the AutoCal has been successfully started or not (as reported by the Node).
The <AutoCalCompletionFlag> representing the final autocal status.
The amount of time (in seconds) that the autocal operation will take to complete. This value gets reported by the Node before starting the calibration.
Gets whether the AutoCal operation has started or not.
true if the Node indicated that the AutoCal operation has started, false otherwise.
Gets the total time (in seconds) that the Node reported it will take to complete the AutoCal operation.
The time (in seconds) that the Node reported it will take to complete AutoCal.
Gets the WirelessTypes::AutoCalCompletionFlag of the AutoCal operation.
The WirelessTypes::AutoCalCompletionFlag of the AutoCal operation.
Gets the information bytes returned from the AutoCal completion packet.
The information Bytes from the AutoCal completion packet.
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
bool match_nodeReceived( |
| ) |
Checks if the WirelessPacket passed in matches the "Node Received" packet.
packet | The WirelessPacket to try to match. |
true if the packet matches the Node Received packet, false otherwise.
bool match_shmLink( |
| ) |
Checks if the WirelessPacket matches the SHM-Link AutoCal packet.
packet const WirelessPacket& | The WirelessPacket to try to match. |
true if the packet matches the SHM-Link AutoCal packet, false otherwise.