Skip to main content

Protocol v3 (E-C111G/E-C121G)

Current E-C111G/E-C121G firmware sends one binary waveform frame every 100 ms. Multi-byte values are little-endian. Unlike legacy v1, frame length depends on the configured channels and sample rate.

Byte offsetField
0Header: 01 FE
2Signed 64-bit sample timestamp, milliseconds (use as absolute time only with device time synchronized)
1032-bit device configuration
144-byte rotating metadata value
18Samples grouped by channel, not interleaved
After samplesOne XOR checksum over bytes from the timestamp through the last sample, then trailer EF 10

Configuration bits 31–30 encode packet interval (0 = 100 ms); bits 29–27 encode output rate (2/3/4/5 = 50/100/200/250 SPS); bit 26 indicates GNSS timing mode, not current lock. Starting at bits 25–24, successive two-bit fields describe each channel (0 absent, 1 signed 16-bit, 2 signed 24-bit, 3 signed 32-bit). The firmware sends the enabled geophone channels first (three 32-bit channels), then the enabled accelerometer channels (three 16-bit channels). At 100 SPS in six-channel mode, each channel contributes ten samples: the full frame is 18 + 10 × (3 × 4 + 3 × 2) + 3 = 201 bytes.

Rotating metadata​

Use the timestamp's whole seconds modulo ten as the slot number. Interpret a slot only if its corresponding configuration bit is set; older firmware may not provide all diagnostics.

SlotValue
0Device ID
1–3Latitude, longitude, elevation respectively (float32, GNSS mode)
4Temperature (float32)
5Delay from sample timestamp to packet preparation, in microseconds (uint32; 0xFFFFFFFF = unavailable)
6GNSS status (GNSS mode): PPS lock, position fix and NMEA time validity in bits 0–2 respectively; HDOP in tenths in bits 3–10 (255 = unavailable); satellite count in bits 11–15; seconds since PPS in the upper 16 bits

For the wire layout and encoding, see the firmware's packet definitions and packet writer.