Merge branch 'master' into new-equitherm

This commit is contained in:
Yurii
2025-06-30 02:42:33 +03:00
16 changed files with 600 additions and 99 deletions

View File

@@ -106,6 +106,11 @@ public:
return isValidResponse(response) && isValidResponseId(response, OpenThermMessageID::RemoteRequest);
}
static bool isCh2Active(unsigned long response)
{
return response & 0x20;
}
static bool isValidResponseId(unsigned long response, OpenThermMessageID id) {
byte responseId = (response >> 16) & 0xFF;