Contains logic for the base station read eeprom command (v2).
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.
eepromAddress uint16 | The eeprom address being read from. |
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response. |
The eeprom address to match in the response.
The result value of the read eeprom command.
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 result value of the response.
The result value of the response.
Error: failed to read the base station's eeprom.
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