sgp_measure_iaq(9)
sgp_measure_iaq(9) β measure & retrieve IAQ values π«Ά
okay bestie, welcome to the sgp_measure_iaq(9) kernel API manual page π
the manual name is literally sgp_measure_iaq(9), and this function measures and retrieves IAQ values from the sensor. The caller must hold data->data_lock for the duration of the call. No cap, that lock stays on the whole time π
β¨ NAME β¨
sgp_measure_iaq β measure and retrieve IAQ values from sensor. The caller must hold data->data_lock for the duration of the call.
π SYNOPSIS π
int sgp_measure_iaq (struct sgp_data *data );
πΈ ARGUMENTS πΈ
dataβ SGP data.
β RETURN β
0on success.-EBUSYon default values.- negative error otherwise.
π¦ SEE ALSO π¦
- Kernel file
./drivers/iio/chemical/sgp30.c sgp_verify_buffer(9)sgp_read_cmd(9)
okay thatβs the whole vibe, bestie: source/version is ./drivers/iio/chemical, dated October 2026, and itβs giving sgp_measure_iaq(9) energy from start to finish πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms