Example: Read CO2 measurement - GMP231

GMP231 User Guide

Document code
M211501EN
Revision
E
Language
English (United States)
Product
GMP231
Document type
User guide
Table 1. Read CO2 measurement sequence example
Message bytes (hex) Sent by Content
Master I2C start condition
12 I2C address (write)
81 Get_parameter command
09 Device address
06 Frame length
0A CO2 parameter ID
AA CRC high
9F CRC lo
I2C repeated start condition
13 I2C address (read)
00 GMP231 Status byte (no errors, ACK)
81 Get_parameter command
09 Device address
0B Frame length
0A CO2 Parameter ID
69 CO2 value 653.6314 ppm
68
23
44
75 CRC high
7D CRC lo
Master I2C end condition