1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.62k stars 797 forks source link

[BT] Fix crash when sending multiple BT commands at the same time #2059

Closed 1technophile closed 2 months ago

1technophile commented 2 months ago

Description:

When sending BLE commands at the same time (example triggering an automation to open several curtains), a restart was generated due to common access to the BLE actions vector. Fixing this by adding the BLE operation semaphore to the command initiators

Checklist: