Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

field name

length

value

explanation

control byte

1 byte

00

id byte

1 byte

00

command

1 byte

05

NOTIFICATION (see "Command field" of http://www.linear.com/docs/42453, pdf page 186)

type

1 byte

00

0 = raw samples (see table "Sample/Report notification" of http://www.linear.com/docs/42453, pdf page 198)

channel

type

1 byte

ff

address (see Section "Address representation" of http://www.linear.com/docs/42453, pdf page 188)

length

1 byte

01

1 byte

value

1 byte

05

temperature (see Section "Addressable Elements and Pinout" of http://www.linear.com/docs/42453, pdf page 191)

timestamp

12 bytes

12 bytes

000000003d226bc600060eb3

timestamp when the measurement was taken. Timestamps are in “network time” where the first four bytes are always 0, the middle four bytes are seconds (and the start of “network time” is XXX), and the final four bytes are millisecondsmicroseconds.

rate

4 bytes

00007530

0x7530 == 30000 (30,000ms == 30s)

num samples

1 byte

01

sample size

1 byte

10

16-bit sample

sample

2 bytes

08f9

0x08f9 == 2297 (in 1/100th of a degree: 22.97 C)

...