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

Stack smashing protect failure! #1

Closed ycharron closed 5 years ago

ycharron commented 5 years ago

Hi,

I tried running the code and it works well until it reaches the "Reading radon/temperature/humidity..." part. It fails on the first call: "BLERemoteCharacteristic* temperatureCharacteristic = pRemoteService->getCharacteristic(temperatureUUID);"

20190718_055308905_iOS

Error: Stack smashing protect failure!

Any idea what might be causing this or how to work around it?

I'm using Arduino IDE 1.8.9 with BLE 1.0.1 lib (from core).

Standard ESP32.

Thanks

ycharron commented 5 years ago

Figured out: https://github.com/nkolban/esp32-snippets/issues/863