Android usb serial for direct read

The serial output format is described in this post, though it doesn’t explain the gas output:

You can get the field descriptions from the chip’s datasheet:

  • p: Pressure in millibars/hPa
  • iaq: Index for Air Quality (mobile sensor), like EPA AQI
  • T: Temperature
  • H: Humidity
  • sIaq: Static Index for Air Quality (“static” meaning “stationary” here), like EPA AQI; is not subject to the auto-trim algorithm like iaq is
  • gasR: Gas resistance value (raw reading of the sensing device, may or may not be temperature- and humidity-compensated depending on which field they’re reading)

There may be more fields depending on which chip your sensor is equipped with. I linked the datasheet for the BME688, but I believe older sensors may have the predecessor chip, the BME680.