Expand description
numeric values used in communication with Atlas Scientific sensor units
Constantsยง
- ASCII_
VAL_ NINE - ASCII value for representation of figure nine
- ASCII_
VAL_ ZERO - ASCII value for representation of figure zero
- COMMAND_
READ - command sent to sensor unit for initiating response
- DECIMAL_
POINT - decimal point
- INDEX_
CONTENT_ START - start of data inside the message from the sensor
- INDEX_
FIRST_ CHARACTER - location of the first character to be checked inside the message from the sensor
- INDEX_
LAST_ CHARACTER - location of the last character to be checked inside the message from the sensor
- INDEX_
PENULTIMATE_ CHARACTER - finish of data inside the message from the sensor
- MAX_
MUTEX_ ACCESS_ DURATION_ MILLIS - allow max. 10 milliseconds for mutex to be blocked by any other thread
- MESSAGE_
FINISH_ MAGIC - magic number at finish position inside the message which identifies valid response from sensor unit
- MESSAGE_
SIZE - length of the message received from the sensor (number of bytes)
- MESSAGE_
START_ MAGIC - magic number at front position inside the message which identifies valid response from sensor unit
- NEGATIVE_
SIGN - negative sign (note: positive sign does not occur in the message from the sensor)