The Sensor Seal Reading Binary (SSRB) measurement format is a compact binary format that encodes a Sensor Seal measurement. It always includes the SSRB packet identifier and SSRB version number.
SSRB Version 2
SSRB version 2 includes the following parameters:
- Sensor Seal UID
- Sensor Seal Update ID
- Temperature
- Speed (rpm)
- Vibration
- Voltage
Newer versions of the SSRB format will contain at least the above parameters to remain backward compatible, however the packet length may be extended to accomodate additional parameters.
Packet Format
Offset (B) | Length (B) | Field Name | Field Description |
---|---|---|---|
0 | 4 | Packet Identifier | Equal to "SSRB" in ASCII |
4 | 1 | Version | An 8 bit unsigned integer representing the SSRB version number (2 in this case) |
5 | 4 | Sensor Seal UID | A binary string representing the unique identifier of the Sensor Seal that this measurement is from |
9 | 4 | Update ID | A number that increments each time the Sensor Seal sends a measurement |
13 | 4 | Temperature | A 32-bit float representing the measured temperature in degrees Celcius |
17 | 4 | Speed | A 32-bit float representing the measured speed in rpm |
21 | 4 | Vibration | A 32-bit integer representing the RMS level of vibration in mm/s^2 |
25 | 4 | Voltage | A 32-bit integer representing the voltage level of the Sensor Seal in mV |
- All fields are in little endian byte order unless otherwise specified
- All floating point fields follow the IEEE 754 single-precision floating-point format
Note: Certain Sensor Seals configured for real-time applications may send measurements before all parameters have been measured and these unmeasured parameters will be represented by
negative infinity
as specified in the IEEE 754 single-precision floating-point format for floating point fields, or zero
for integer fields.