From bf7e4f1240c00a6b4ff5f051a248a056e4fc99e5 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Thu, 13 Sep 2018 21:11:39 +0200 Subject: [PATCH] change OMG version and some comments change --- User_config.h | 3 +-- ZgatewayBT.ino | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/User_config.h b/User_config.h index 5fad76d1..3f4b5b6d 100644 --- a/User_config.h +++ b/User_config.h @@ -29,7 +29,7 @@ along with this program. If not, see . */ /*-------------------VERSION----------------------*/ -#define OMG_VERSION "0.8beta" +#define OMG_VERSION "0.8" /*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/ //MQTT Parameters definition @@ -132,4 +132,3 @@ const byte subnet[] = { 255, 255, 255, 0 }; //ip adress /*-------------------ACTIVATE TRACES----------------------*/ #define TRACE 1 // 0= trace off 1 = trace on - diff --git a/ZgatewayBT.ino b/ZgatewayBT.ino index 6363fdb8..1dc953f8 100644 --- a/ZgatewayBT.ino +++ b/ZgatewayBT.ino @@ -372,7 +372,7 @@ boolean process_data(int offset, char * rest_data, char * mac_adress){ // Mi flora provides tem(perature), (earth) moi(sture), fer(tility) and lux (illuminance) - // Mi Jia provides tem(perature) and hum(idity) + // Mi Jia provides tem(perature), batt(erry) and hum(idity) // following the value of digit 47 we determine the type of data we get from the sensor switch (rest_data[47 + offset]) { case '9' :