Contains logic for the base station read eeprom command
static ByteStream buildCommand( |
| ) |
Builds the eeprom read command packet
eepromAddress uint16 | The eeprom address to read from the base station |
A ByteStream containing the base station read eeprom command
Handles the response to the base station read eeprom command
Response( |
| ) |
Creates a read eeprom Response object
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response |
The result value of the read eeprom command.
virtual bool match( |
| ) override |
Checks if the bytes passed in match the response pattern from their current read position
data | The DataBuffer containing the bytes in which to try to find the pattern |
true if the response pattern was found, false otherwise
Gets the result value of the response.
The result value of the response.
Error: failed to read the base station's eeprom.
bool matchSuccessResponse( |
| ) |
Checks if the bytes passed in match the success response pattern from their current read position
data | The DataBuffer containing the bytes in which to try to find the pattern |
true if the success response pattern was found, false otherwise
bool matchFailResponse( |
| ) |
Checks if the bytes passed in match the failure response pattern from their current read position
data | The DataBuffer containing the bytes in which to try to find the pattern |
true if the failure response pattern was found, false otherwise