Contains logic for the PageDownload Node command
static ByteStream buildCommand( |
| ) |
Builds the PageDownload command packet
nodeAddress | the address of the Node to build the command for |
pageIndex uint16 | the page index to download from the Node's memory |
A ByteStream containing the command packet
Handles the response to the PageDownload Node command
Response( |
| ) |
Creates a PageDownload Response object
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response |
The data points that make up the "page" that was downloaded from the Node
Whether or not part 1 (the Command Byte) of the response has been matched
virtual bool match( |
| ) override |
Checks if the DataBuffer passed in matches the expected response pattern's bytes
data | The DataBuffer containing the bytes to match |
true if the bytes match a response pattern, false otherwise
Gets the dataPoints that were downloaded from the Node
A ByteStream holding the data points (if any) that were downloaded from the Node
bool matchSuccessResponsePart1( |
| ) |
Checks if the DataBuffer passed in matches the first part (Command Byte) of the response bytes
data | The DataBuffer containing the bytes to match |
true if the bytes match the first part of the success response pattern, false otherwise
bool matchSuccessResponse( |
| ) |
Checks if the DataBuffer passed in matches the success response bytes
data | The DataBuffer containing the bytes to match |
true if the bytes match the success response pattern, false otherwise
Checks if the DataBuffer passed in matches the fail response bytes
data | The DataBuffer containing the bytes to match |
true if the bytes match the fail response pattern, false otherwise