code factoring and improvments

-code factoring by structure use
-present temperature without division per 10 need
-upper case for the mac adress
-correct rssi value
This commit is contained in:
1technophile committed 2017-11-10 23:56:09 +01:00
1 parent 340dcb0ac4
commit d094ff3b74
2 files changed
+49 -50

No files matched your search

+9
View File
@@ -31,6 +31,15 @@
#define ZgatewayBT_stable true //comment this line to test mi flora integration
#define delimiter "4f4b2b444953413a"
#define delimiter_length 16
struct decompose
{
char subject[4];
int start;
int len;
boolean reverse;
char extract[60];
};
/*-------------------PIN DEFINITIONS----------------------*/
#ifdef ESP8266