Home
last modified time | relevance | path

Searched refs:p1Gas (Results 1 – 1 of 1) sorted by relevance

/dports/www/domoticz/domoticz-2020.2/main/
H A Dmainworker.cpp9724 const _tP1Gas* p1Gas = reinterpret_cast<const _tP1Gas*>(pResponse); in decode_P1MeterGas() local
9725 if (p1Gas->len != sizeof(_tP1Gas) - 1) in decode_P1MeterGas()
9728 uint8_t devType = p1Gas->type; in decode_P1MeterGas()
9729 uint8_t subType = p1Gas->subtype; in decode_P1MeterGas()
9731 sprintf(szTmp, "%d", p1Gas->ID); in decode_P1MeterGas()
9738 sprintf(szTmp, "%u", p1Gas->gasusage); in decode_P1MeterGas()
9746 switch (p1Gas->subtype) in decode_P1MeterGas()
9751 sprintf(szTmp, "gasusage = %.3f m3", float(p1Gas->gasusage) / 1000.0f); in decode_P1MeterGas()
9755 … sprintf(szTmp, "ERROR: Unknown Sub type for Packet type= %02X:%02X", p1Gas->type, p1Gas->subtype); in decode_P1MeterGas()