add dataclient sublib to be used by multiple tools.

This commit is contained in:
Martin Preuss
2025-06-25 00:03:09 +02:00
parent 033b7cd4db
commit a808450fa2
5 changed files with 676 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/****************************************************************************
* 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 AQHOME_DATA_CLIENT_P_H
#define AQHOME_DATA_CLIENT_P_H
#include "aqhome/dataclient/client.h"
typedef struct AQH_DATA_CLIENT AQH_DATA_CLIENT;
struct AQH_DATA_CLIENT {
AQH_OBJECT *ipcEndpoint;
int timeoutInSeconds;
uint8_t protoId;
uint8_t protoVer;
uint32_t lastMsgId;
};
#endif