...
field name | length | value | explanation | |
---|---|---|---|---|
control byte | 1 byte |
| ||
id byte | 1 byte |
| ||
command | 1 byte |
| NOTIFICATION (see "Command field" of http://www.linear.com/docs/42453, pdf page 186) | |
type | 1 byte |
| 0 = raw samples (see table "Sample/Report notification" of http://www.linear.com/docs/42453, pdf page 198) | |
channel | type | 1 byte |
| address (see Section "Address representation" of http://www.linear.com/docs/42453, pdf page 188) |
length | 1 byte |
| 1 byte | |
value | 1 byte |
| temperature (see Section "Addressable Elements and Pinout" of http://www.linear.com/docs/42453, pdf page 191) | |
timestamp | 12 bytes | 12 bytes |
| timestamp when the measurement packet was generatedwas 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 milliseconds. |
rate | 4 bytes |
| 0x7530 == 30000 (30,000ms == 30s) | |
num samples | 1 byte |
| ||
sample size | 1 byte |
| 16-bit sample | |
sample | 2 bytes |
| 0x08f9 == 2297 (in 1/100th of the a degree: 22.97 C) |
Changing temperature period to 10s
...
field name | length | value | explanation | |||
---|---|---|---|---|---|---|
control byte | 1 byte |
| ||||
id byte | 1 byte |
| ||||
command | 1 byte |
| NOTIFICATION (see "Command field" of http://www.linear.com/docs/42453, pdf page 186) | |||
type | 1 byte |
| 2 = digital change notification (see table "Sample/Report notification" of http://www.linear.com/docs/42453, pdf page 199) | |||
channel | type | 1 byte |
| address (see Section "Address representation" of http://www.linear.com/docs/42453, pdf page 188) | ||
length | 1 byte |
| 1 byte | |||
value | 1 byte |
| digital_in/D0 (see Section "Addressable Elements and Pinout" of http://www.linear.com/docs/42453, pdf page 191) | |||
timestamp | 12 bytes | 12 bytes |
| timestamp when the measurement packet was generatedtaken | ||
new value | 1 byte |
| 1 = pin is pulled high
|
...
field name | length | value | explanation | |
---|---|---|---|---|
control byte | 1 byte |
| ||
id byte | 1 byte |
| ||
command | 1 byte |
| NOTIFICATION (see "Command field" of http://www.linear.com/docs/42453, pdf page 186) | |
type | 1 byte |
| 0 = raw samples (see table "Sample/Report notification" of http://www.linear.com/docs/42453, pdf page 198) | |
channel | type | 1 byte |
| address (see Section "Address representation" of http://www.linear.com/docs/42453, pdf page 188) |
length | 1 byte |
| 1 byte | |
value | 1 byte |
| analog/A0 (see Section "Addressable Elements and Pinout" of http://www.linear.com/docs/42453, pdf page 191) | |
timestamp | 12 bytes | 12 bytes |
| timestamp of when the measurement was donetaken |
rate | 4 bytes |
| 0x2710 == 10000 (10,000ms == 10s) | |
num samples | 1 byte |
| ||
sample size | 1 byte |
| 16-bit sample | |
sample | 2 bytes |
| 0x0603 == 1539 (1539 mV == 1.539 V) |
...