Product Info

Quell Command
Takes two uint16 type arguments. The first argument represents the Logging Interval in
seconds and the second represents the Log Delay in seconds. If the Log Interval is not
supplied (0x0000) The E2ES will use its internal default value of 600 seconds. Log Delay
functionality is optional and accepts a value of 0. Quelling the E2ES causes all data to be
cleared and starts device logging with an optionally new Log Interval.
Ex:
TX ->
0x01 - Endian
0x51 - Command (Quell)
0x01 - Log Interval (300 seconds)
0x2C
0x00 - Log Delay (0 seconds)
0x00
RX <-
0x51 - Command (Quell)
0x00 - Error (success)
Parsing Temperature Data
The individual temperature points are shifted so that their resolution fits in their given bit size for
an ideal range. With the current logging scheme, 10 bit values are ‘normalized’ via the following
formula:
(temp - 500) / 10.0
For example, in the Temperature command we received a value of 0x028E which is decimal
value 654:
(654 - 500) / 10.0 = 15.4 Degrees C
Logged data is parsed in the same manner but must first be extracted from its 32 bit Word.
Every Block will be a byte count that is equally divisible by 4. This is because the data is
compacted into 4 byte (32 bit) Words:
2 bits 10 bits 10 bits 10 bits
Parsing Mark events is easy; just line up the count to the temperature:
0 = No Mark
1 = Mark between Start and Temp 1
2 = Mark between Temp 1 and Temp 2
3 = Mark between Temp 2 and Temp 3
Temperatures are parsed in the same manner as before, the only trick here is removing the 10
bit values from the 32 bit word. This is accomplished with a simple bit shift.
As an example, let’s say we have a Block starting with Word 0xA8BA2285:
0xA8BA2285 >> 30 = 2 => There was a Mark Event between Temp 1 and Temp 2.
(0xA8BA2285 >> 20) & 0x3FF = 651 => 15.1 Degrees C
(0xA8BA2285 >> 10) & 0x3FF = 648 => 14.8 Degrees C
(0xA8BA2285) & 0x3FF = 645 => 14.5 Degrees C
This procedure is repeated for every Word in every Block, sequentially, until all data has been
converted.
Marks Temp 1 Temp 2 Temp 3
© 2018 End2End Sensors LLC, ALL RIGHTS RESERVED