Arduino NimBLE support (#732)

* NimBLE-arduino support

* Decorrelate discovery from BLEScan

To avoid Stack canary watchpoint triggered and store sensor model into BLEdevice vector
This commit is contained in:
Florian authored and GitHub committed 2020-08-17 09:51:58 -05:00
1 parent 418c1d0c81
commit e9910a9165
4 files changed
+107 -73

No files matched your search

-5
View File
@@ -190,9 +190,6 @@ EthernetClient eClient;
// client link to pubsub mqtt
PubSubClient client(eClient);
//MQTT last attemps reconnection date
unsigned long lastMQTTReconnectAttempt = 0;
void revert_hex_data(const char* in, char* out, int l) {
//reverting array 2 by 2 to get the data in good order
int i = l - 2, j = 0;
@@ -565,8 +562,6 @@ void setup() {
delay(1500);
lastMQTTReconnectAttempt = 0;
#ifdef ZsensorBME280
setupZsensorBME280();
#endif