sabeechen / AirthingsMQTT

An ESP32 arduino sketch that searches for a compatible Airthings device and publishes the radon level, temperature, and humidity to an MQTT server.
MIT License
21 stars 14 forks source link

BLE Connection Error #4

Open zorgoban opened 3 years ago

zorgoban commented 3 years ago

If it is stll relevant, try to move this line 178 device.getScan()->stop(); below this line 180 found = true;

onResult seems to run in a Task and I had cases where getAndRecordReadings was called before the Address was assigned.

Many Greetings! Remo