change OMG version and some comments change

This commit is contained in:
Florian
2018-09-13 21:11:39 +02:00
parent f7eb0b1921
commit bf7e4f1240
2 changed files with 2 additions and 3 deletions

View File

@@ -29,7 +29,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*-------------------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

View File

@@ -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' :