aqhome: Improved serial port handling, added parsers for different msg types.

This commit is contained in:
Martin Preuss
2023-02-04 00:58:28 +01:00
parent 7ac88f3fb9
commit 1620e4c0e5
14 changed files with 1117 additions and 211 deletions

32
aqhome/msg_p.h Normal file
View File

@@ -0,0 +1,32 @@
/****************************************************************************
* This file is part of the project AqHome.
* AqHome (c) by 2023 Martin Preuss, all rights reserved.
*
* The license for this file can be found in the file COPYING which you
* should have received along with this file.
****************************************************************************/
#ifndef AQH_MSG_P_H
#define AQH_MSG_P_H
#include "aqhome/msg.h"
struct AQH_MSG {
GWEN_LIST_ELEMENT(AQH_MSG)
uint8_t buffer[AQH_MAXMSGSIZE];
uint8_t bytesInBuffer;
uint8_t currentPos;
};
#endif