I2c clock stretching on ACK for ESP32

  1. My goal is:
    to read from the SCD30 using i2c. There a appears to be a problem, I think because the SCD30 will clock stretch an ACK
  2. My actions are:
    using library: https://github.com/sparkfun/SparkFun_SCD30_Arduino_Library but with the mongoose i2c library.
  3. The result I see is:
    very rarely a read happens but mostly reading data from the scd30 does not reach the code- most likely because the scd30 is late to ACK (lowering SDA).
  4. My expectation & question is:
    Is there any solution to this? Is there an easy way to add clock stretching to wait for the ack in the mongoose i2c code?