Thu, 19 Jul 2018 14:08:32 +0200
Versie 0.8.0. Fixed eerste DBIRTH fout geinitialiseerde waardes.
configure | file | annotate | diff | comparison | revisions | |
configure.ac | file | annotate | diff | comparison | revisions | |
thermferm/mqtt.c | file | annotate | diff | comparison | revisions | |
thermferm/mqtt.h | file | annotate | diff | comparison | revisions | |
thermferm/thermferm.c | file | annotate | diff | comparison | revisions |
--- a/configure Thu Jul 19 12:55:40 2018 +0200 +++ b/configure Thu Jul 19 14:08:32 2018 +0200 @@ -2035,7 +2035,7 @@ PACKAGE="mbsePi-apps" -VERSION="0.6.8" +VERSION="0.8.0" COPYRIGHT="Copyright (C) 2014-2018 Michiel Broek, All Rights Reserved" CYEARS="2014-2018"
--- a/configure.ac Thu Jul 19 12:55:40 2018 +0200 +++ b/configure.ac Thu Jul 19 14:08:32 2018 +0200 @@ -8,7 +8,7 @@ dnl General settings dnl After changeing the version number, run autoconf! PACKAGE="mbsePi-apps" -VERSION="0.6.8" +VERSION="0.8.0" COPYRIGHT="Copyright (C) 2014-2018 Michiel Broek, All Rights Reserved" CYEARS="2014-2018" AC_SUBST(PACKAGE)
--- a/thermferm/mqtt.c Thu Jul 19 12:55:40 2018 +0200 +++ b/thermferm/mqtt.c Thu Jul 19 14:08:32 2018 +0200 @@ -727,7 +727,6 @@ */ mosquitto_loop_start(mosq); publishNData(true, 0); - publishDBirthAll(); } }
--- a/thermferm/mqtt.h Thu Jul 19 12:55:40 2018 +0200 +++ b/thermferm/mqtt.h Thu Jul 19 14:08:32 2018 +0200 @@ -17,6 +17,12 @@ void mqtt_disconnect(void); /** + * @brief Publish DBIRTH for all active units. If there are no active units, don't + * publish anything. This function should be called at program start. + */ +void publishDBirthAll(void); + +/** * @brief Publish unit data. * @param unit Unit data structure. */