/**************************************************************************** * This file is part of the project AqHome. * AqHome (c) by 2025 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_M_IPC_RESULT_H #define AQH_M_IPC_RESULT_H #include #include #include #define AQH_MSGDATA_RESULT_TAGS_RESULT 0x0001 #define AQH_MSGDATA_RESULT_TAGS_TEXT 0x0002 AQHOME_API AQH_MESSAGE *AQH_IpcMessageResult_new(uint8_t protoId, uint8_t protoVer, uint16_t code, uint32_t msgId, uint32_t refMsgId, int result, const char *text); AQHOME_API void AQH_IpcMessageResult_DumpToBuffer(const AQH_MESSAGE *msg, const GWEN_TAG16_LIST *tagList, GWEN_BUFFER *dbuf, const char *sText); #endif