mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-03-18 21:27:23 +01:00
change OMG version and some comments change
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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' :
|
||||
|
||||
Reference in New Issue
Block a user