Added command names to serial output

This commit is contained in:
Thomas Basler
2022-10-02 17:17:34 +02:00
parent c8c6b2a978
commit 18ec145dda
16 changed files with 55 additions and 1 deletions

View File

@@ -9,6 +9,11 @@ RealTimeRunDataCommand::RealTimeRunDataCommand(uint64_t target_address, uint64_t
setTimeout(200);
}
String RealTimeRunDataCommand::getCommandName()
{
return "RealTimeRunData";
}
bool RealTimeRunDataCommand::handleResponse(InverterAbstract* inverter, fragment_t fragment[], uint8_t max_fragment_id)
{
// Check CRC of whole payload