avr, aqhome: added modality MOTION.
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user