Skip to main content

Passthrough Codec

Hands every chunk of bytes the transport delivers to CycBox as one message as soon as it arrives, and sends payloads unchanged. There is no framing: depending on how the operating system delivers the bytes, one device reply can arrive split across several messages, or two replies merged into one.

Use it to watch a raw byte stream, or when a Lua script handles each chunk itself. When the device's messages have a structure, a framing codec gives one message per frame: Line for text lines, Timeout for replies separated by idle gaps, Frame for header / length / checksum protocols.

Configuration reference​

Config IDpassthrough_codec
Selected byapp_codec = "passthrough_codec"
PlatformsLinux, Windows, Android
LicenseFree

Pass buffered data as messages immediately

This codec has no settings of its own.

Example config​

Default values as they appear in a saved configuration (for example the JSON block at the end of a cycbox/examples/*.lua file). Settings detected at runtime are omitted.

{
"app": {
"app_codec": "passthrough_codec"
}
}