Contains logic for the base station write eeprom command (v2)
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 |
eepromAddress uint16 | The eeprom address being written to. |
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.
The eeprom address to match in the response.
The WirelessPacket::ResponseErrorCode from the response.
virtual bool match( |
| ) override |
Checks if the packet passed in matches either the success or failure response.
packet const WirelessPacket& | The WirelessPacket to try to match. |
true if the response pattern was found, false otherwise.
Gets the WirelessPacket::ResponseErrorCode from the response packet.
The error code from the response.
bool matchSuccessResponse( |
| ) |
Checks if the packet passed in matches the success response.
packet const WirelessPacket& | The WirelessPacket to try to match. |
true if the success response pattern was found, false otherwise
bool matchFailResponse( |
| ) |
Checks if the packet passed in matches the failure response.
packet const WirelessPacket& | The WirelessPacket to try to match. |
true if the failure response pattern was found, false otherwise