I am currently developing a Bluetooth BLE application for Espressif’s ESP32-S3 and looking for some help in regards to setting up the read/write architecture with FreeRTOS. I am encountering issues when trying to subscribing to read and write notifications. My applications runs sequentially and fails when trying to run a read and write (e.g., GATT procedure read and subscribe initiated → GATT procedure write initiated → read complete → write complete → subscription failed, connection terminates). I believe I will need to implement a way of blocking the execution of my program until a read or write operation is completed. What would be the best approach for this using FreeRTOS? I was looking into possibly using Task Notifications or Event Groups but if anyone has worked with Bluetooth BLE before any help would be appreciated.