TeltonikaCodec.Codec8Extended (TeltonikaCodec v0.1.0)

Copy Markdown View Source

Parser for Teltonika Codec 8 Extended (ID 0x8E).

Extends Codec 8 with 2-byte I/O element IDs and counts, supporting up to 65535 distinct AVL IDs. Also adds variable-length (NX) I/O elements with per-element length descriptors.

I/O Element Layout

<<event_io_id::16, total_count::16,
  n1_count::16, ...1-byte values (2-byte IDs)...,
  n2_count::16, ...2-byte values (2-byte IDs)...,
  n4_count::16, ...4-byte values (2-byte IDs)...,
  n8_count::16, ...8-byte values (2-byte IDs)...,
  nx_count::16, ...variable-length values...>>