avr, aqhome: added modality MOTION.

This commit is contained in:
Martin Preuss
2024-10-28 23:41:27 +01:00
parent 88035efdf9
commit 061438b7c8
5 changed files with 10 additions and 1 deletions

View File

@@ -122,6 +122,7 @@ const char *AQH_Value3Msg_GetValueTypeName(const GWEN_MSG *msg)
case AQH_MSG_VALUE3_TYPE_TEMP: return "temperature";
case AQH_MSG_VALUE3_TYPE_HUMIDITY: return "humidity";
case AQH_MSG_VALUE3_TYPE_DOOR: return "door_window";
case AQH_MSG_VALUE3_TYPE_MOTION: return "motion";
default: break;
}
return "unknown";

View File

@@ -21,6 +21,7 @@
#define AQH_MSG_VALUE3_TYPE_TEMP 1
#define AQH_MSG_VALUE3_TYPE_HUMIDITY 2
#define AQH_MSG_VALUE3_TYPE_DOOR 3
#define AQH_MSG_VALUE3_TYPE_MOTION 6
AQHOME_API GWEN_MSG *AQH_Value3Msg_new(uint8_t srcAddr, uint8_t destAddr,