Contains logic for the base station write eeprom command
static ByteStream buildCommand( |
| ) |
Builds the eeprom write command packet
eepromAddress uint16 | The eeprom address to write to on the base station |
valueToWrite uint16 | The value to write to the specified eeprom address |
A ByteStream containing the base station write eeprom command
Handles the response to the base station write eeprom command
Response( |
| ) |
Creates a write eeprom Response object
valueToWrite uint16 | The value that is expected to be written to eeprom from the associated command |
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response |
The value that is expected to be written to eeprom from the associated 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
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