put per default the new code with mi flora integration

#100
This commit is contained in:
1technophile committed 2017-11-24 23:24:54 +01:00
1 parent 93b1405b3e
commit 1158161a8d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -52,7 +52,7 @@ void setupBT() {
delay(100);
}
#ifndef ZgatewayBT_stable // published for test only, if you want to test mi flora integration uncomment ZgatewayBT_stable in config_BT
#ifdef ZgatewayBT_v6xx
#define QUESTION_MSG "AT+DISA?"
boolean BTtoMQTT() {
@@ -164,7 +164,7 @@ boolean process_miflora_data(char * rest_data, char * mac_adress){
#endif
#ifdef ZgatewayBT_stable
#ifndef ZgatewayBT_v6xx
#define QUESTION_MSG "AT+DISI?"
boolean BTtoMQTT() {
while (softserial.available() > 0) {
+1 -1
View File
@@ -28,7 +28,7 @@
#define TimeBtw_Read 10000 //define the time between 2 scans
#define HM-10
//#define HM-11 // uncomment this line if you use HM-11 and comment the line above
#define ZgatewayBT_stable true //comment this line to test mi flora integration
#define ZgatewayBT_v6xx // comment if you don't have a firmware version of HM10/11 >= v601
#define delimiter "4f4b2b444953413a"
#define delimiter_length 16