avr/reed: implemented tilt detection mode

- implemented tilt detection mode
- added docu
- change the way a VALUE2 message is printed when value type is "door"
This commit is contained in:
Martin Preuss
2023-05-12 23:19:01 +02:00
parent 84403d07f6
commit 226922d3e4
5 changed files with 227 additions and 46 deletions

View File

@@ -20,6 +20,7 @@
#define AQH_MSG_VALUE2_TYPE_TEMP 1
#define AQH_MSG_VALUE2_TYPE_HUMIDITY 2
#define AQH_MSG_VALUE2_TYPE_DOOR 3
@@ -31,6 +32,7 @@ AQHOME_API int16_t AQH_Value2Msg_GetValueDenom(const GWEN_MSG *msg);
AQHOME_API double AQH_Value2Msg_GetValue(const GWEN_MSG *msg);
AQHOME_API const char *AQH_Value2Msg_GetValueAsWindowStateString(const GWEN_MSG *msg);
AQHOME_API void AQH_Value2Msg_DumpToBuffer(const GWEN_MSG *msg, GWEN_BUFFER *dbuf, const char *sText);