I am using Arduino Nano 33 IoT with ArduinoMqttClient library and MAX30102 sensor for data collection over I2C. As soon as I call
mqttClient.connect() the sensor stops reading the data over I2C. As soon as I do not connect with
mqttClient I am able to get the data from the sensor.