|
DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
OCIT-Outstations message codec (DETWS_ENABLE_OCIT). More...
Go to the source code of this file.
OCIT-Outstations message codec (DETWS_ENABLE_OCIT).
OCIT (Open Communication Interface for Road Traffic Control) is the DE/AT/CH open field-controller interface between central traffic computers, field controllers, and detectors. The OCIT-Outstations (OCIT-O) message set exchanges objects identified by an object type + instance, carrying typed values, in a compact binary message:
[message-type : 1][object-type : 2][instance : 2][data-type : 1][value...]
where message-type is a get / set / report, object-type + instance address the field object (a signal group, a detector, a controller state), and the data-type tags the value (a bool, a byte, a 16/32-bit integer, or a raw octet string). This codec builds/parses those messages. Pure, zero heap, no stdlib, host-testable; the OCIT transport (TCP / the OCIT-O BTPPL profile) is the shipped transport.
Definition in file ocit.h.