/****************************************************************************
 * 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 AQHOME_DATA_LOOP_H
#define AQHOME_DATA_LOOP_H


#include "./aqhome_data.h"


void AqHomeData_Loop(AQHOME_DATA *aqh, int timeoutInMsecs);

int AqHomeData_WriteStorageIfChanged(AQHOME_DATA *aqh);

AQH_VALUE *AqHomeData_GetOrCreateValueForDriverWithTemplate(AQHOME_DATA *aqh,
                                                            GWEN_MSG_ENDPOINT *epDriver,
                                                            const AQH_VALUE *valueTemplate);


#endif





