I was able to read TVOC from AMS CCS811 which is included in NXP Rapid IoT. But I'm not getting any data from its CO2 sensor.
Have somebody been able to read CO2 data using this sensor?
I found a workaround.
The IoT Studio doesn't generate a complete code block for CO2 sensor. So I've reused the block generated for TVOC sensor and modified it slightly (changed ppb->ppm).