IoT into the Wild
40
10.3 Data Parsing Example
10.3.1 Measurement data packets
Measurements list:
The raw payload: 010115410000005E000000020156000000FE2703
01 0115 41 0000005E 05 0011 02 0156 000000FE 2703
0115 is actually 0x0115 (signed number),
whose equivalent decimal value is 277. Divide
it by 10, and you will get the actual value for
air Temperature as 27.7 ℃.
41 is actually 0x41(unsigned number),
whose equivalent decimal value is 65. You
will get the actual value for air humidity as
65%RH.
0000005E is actually 0x5E(unsigned
number), whose equivalent decimal value is
94. You will get the actual value for light
intensity as 94 Lux.