DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
hostlink.h File Reference

Omron Host Link (C-mode) frame codec (DETWS_ENABLE_HOSTLINK) - zero-heap ASCII command/response framing for the Omron serial host-link protocol, the RS-232/485 sibling of FINS. More...

#include "ServerConfig.h"

Go to the source code of this file.

Detailed Description

Omron Host Link (C-mode) frame codec (DETWS_ENABLE_HOSTLINK) - zero-heap ASCII command/response framing for the Omron serial host-link protocol, the RS-232/485 sibling of FINS.

A Host Link frame is ASCII:

@ UU XX <text> FF * CR
  • @ start, UU the 2-digit unit/node number, XX the 2-char header code (e.g. RD), <text> the data, FF the 2-hex-char FCS, then the * + CR (0x0D) terminator.
  • FCS = the 8-bit XOR of every character from @ through the last text character, rendered as two uppercase hex digits.
  • A response's text begins with a 2-char end code (00 = normal).

This is the frame codec (build + FCS-validated parse); the serial transport is the app's.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file hostlink.h.