Driver Details

New Community

RS-232 Toolkit

By: David Bowdler
Updated: Oct. 29, 2026
Download Driver Purchase License
Rating: 0.0 (0 ratings)
Log in to rate this driver

RS-232 Toolkit

The RS-232 Toolkit is a general-purpose serial driver for RTI XP processors that lets you control any RS-232 device without writing custom driver code. Pre-configure up to 50 commands your macros fire as "Send Slot N", then independently define up to 80 feedback matchers — Boolean, Integer, String, and Enum — that watch the incoming serial stream and write to sysvars whenever the device replies. A browser-based control page at port 9030 makes authoring, live testing, and feedback capture fast from any device on the LAN.

Key Features

  • 50 configurable TX commands: Define each command as ASCII text (with escape sequences) or raw hex bytes. Choose a terminator (None, LF, CR, CR+LF, or Custom Hex). Fire any command from a macro via SendSlot1 through SendSlot50; each also fires a SLOTN_SENT event for automation triggers.
  • 80 independent RX feedback slots: 20 Boolean (ON/OFF pattern pairs), 20 Integer (prefix-extract), 20 String (prefix-capture), and 20 Enum (pattern-to-label lists with 1-based index and human label sysvars). Feedbacks fire on both command replies and unsolicited device pushes.
  • Per-feedback events: Every feedback slot fires N_MATCHED on any pattern hit and N_CHANGED only when the output sysvar value actually transitions.
  • Browser control page (port 9030): Command tiles, feedback tiles with gear-icon modal editors, a Send Custom field for ad-hoc ASCII or hex, a Traffic Log with "save as feedback" per RX entry, TX/RX/Err counters, and a .driverconfig XML export for IDesign import. Multiple browsers can connect simultaneously.
  • Send & Capture authoring: Point the web UI at a live device, click Capture, change device state — the driver extracts the pattern automatically.
  • Receive framing options: Newline (LF), carriage return (CR), CRLF, Custom Hex delimiter, or None (raw bytes).
  • Configurable baud rate and line settings: 300 to 115200 baud, 7 or 8 data bits, 1 or 2 stop bits, None/Odd/Even/Mark/Space parity, None/RTS/DTS flow control.
  • Export and import configuration: Download the current driver state as a .driverconfig XML and import via IDesign File > Configuration > Import.
  • Optional telnet debug console: Send commands, query feedback state, inspect RX traffic, and run raw JavaScript eval — without opening IDesign.

Requirements

  • Any RS-232 serial device; a null-modem or straight-through cable wired to the RTI processor's serial port
  • RTI XP processor (runtime 24+, Integration Designer 11.4+)
  • Device on the same LAN as the processor to use the browser control page (port 9030)

How It Works

Configure the serial port settings and define your commands and feedback patterns once in IDesign Driver Properties or through the web UI. After deployment, the driver opens the serial port and watches the RX stream against all active feedback patterns. When a pattern matches, the corresponding sysvar updates and the MATCHED and CHANGED events fire — immediately, on every received message, including unsolicited device pushes. Macros call SendSlotN to transmit commands. Use the browser control page during commissioning to test commands live, capture real device responses into feedback slots with one click, and export the finished configuration as .driverconfig XML.

RS-232 Toolkit | Version 2.18

Introduction

The RS-232 Toolkit is a general-purpose serial control driver from Smart Home Programming and Automation. It controls any device with an RS-232 port that has no dedicated RTI driver, and it doubles as a development scratchpad while you work out an unfamiliar protocol.

Pre-define up to 50 commands that macros fire as "Send Slot N", and up to 80 feedback patterns (20 Boolean, 20 Integer, 20 String, 20 Enum) that watch the incoming serial data and write the result to system variables. A browser page hosted on the processor lets you send commands, watch live traffic and capture feedback patterns straight from the device's replies.

Version History

  • 2.18 (2026-10-29) - A debug console command that fails now reports the error instead of going silent. Verified on an XP-6s.
  • 2.17 (2026-10-29) - Button presses made quickly on the web page are now always sent in the order they were pressed.
  • 2.16 (2026-10-29) - The web page now sends one request at a time and retries any request that gets no answer, so it keeps updating and button presses get through on processors that answer only one web connection at a time (seen on the ICP-2). The page also no longer asks for a browser tab icon. Nothing else changed.
  • 2.15 (2026-10-29) - The 15-minute trial is now timed by the processor's own one-minute counter, never the clock. On an ICP-class processor the clock reads UTC for about a minute after boot and then jumps to local time; in 2.14 that jump could show the trial as expired straight away. A licence key pasted with spaces or line breaks is now accepted, a key that reaches the processor a little after start-up is picked up automatically, and a blocked send is logged. Added the RTI-standard License Status and Connection State variables, and the Connection Failed, Custom ASCII Sent, Custom Hex Sent and Trial Warning events (they were sent but not listed). The Trial Started and Licence Activated events now fire. Log lines carry the serial port name, so several Toolkits on one processor can be told apart in TraceView. Connection settings are now the first category in Driver Properties. All existing variable, function and event names are unchanged.
  • 2.14 (2026-06-09) - Current store release before 2.15.
  • 2.03 - 2.13 (May 2026) - Shared Toolkit engine with the TCP, UDP and HTTP Toolkits. Feedback variables are written on every match (previously a first reply equal to the default left the variable empty). Settings are read safely while Integration Designer is still sending configuration. Friendly command and feedback names in event names. Licence entry moved to Driver Properties.
  • 2.02 (2026-05-19) - Fixed the web page failing to load.
  • 2.01 (2026-05-18) - Saving one feedback no longer clears the captured value of the others. Test-query picker in every feedback editor.
  • 2.00 (2026-05-18) - Rebuilt: commands and feedbacks are separate lists, with four feedback types. Command slots and the SendSlot1 - SendSlot50 functions carried over from 1.x; feedbacks need re-authoring.
  • 1.00 - 1.10 (2026-05-18) - First releases: one slot type holding a command and an optional reply pattern.

Driver Features

  • Commands (TX) - up to 50 pre-defined commands, ASCII (with \r \n \t \xNN escapes) or hex bytes, each with its own terminator (None, LF, CR, CR+LF or custom hex). Macros call SendSlot1 - SendSlot50, and each send fires its own event.
  • Ad-hoc sends - Send ASCII Text and Send Hex Bytes take a string, so a macro can send a value built from variables.
  • Boolean feedback - an ON pattern and an OFF pattern set a true/false variable (power, mute, freeze).
  • Integer feedback - a prefix match extracts the first number in the reply (volume, lamp hours, error code).
  • String feedback - a prefix match stores the whole reply text (source name, status text).
  • Enum feedback - a list of pattern|label pairs; the first match writes both its label and its 1-based position (inputs, picture modes).
  • Two events per feedback - Matched fires on every match; Changed fires only when the value actually changes. Feedbacks also react to unsolicited replies, so a change made on the device's own remote still updates the panel.
  • Web page on the processor (default port 9030) - send commands, watch the traffic log, edit every command and feedback, capture patterns from live replies, and export the result as a .driverconfig file.
  • Debug console (optional, telnet) for development.

Feedback variable names

For feedback N: BoolFbNBool, IntFbNInt, StrFbNStr, EnumFbNInt + EnumFbNStr, plus a Name, Category and Last Response for each. Event tags: BOOLFBNMATCHED / BOOLFBNCHANGED, and the same with INTFB, STRFB and ENUMFB.

Example: an Epson projector

  • Commands: "Power On" (PWR ON, CR), "Power Off" (PWR OFF, CR), "Power Query" (PWR?, CR).
  • Boolean Feedback 1 "Power State": ON = ":PWR=01", OFF = ":PWR=00".
  • Integer Feedback 1 "Volume": prefix ":VOL=".
  • Enum Feedback 1 "Source": ":SOURCE=30|HDMI 1;:SOURCE=A0|HDMI 2;:SOURCE=11|Computer".

Bind a power image to BoolFb1Bool, a volume label to IntFb1Int and a source label to EnumFb1Str, and fire SendSlot1 to power on.

Supported Devices

Any device with an RS-232 control port whose protocol is ASCII text or binary bytes. No particular device is certified. Tested by Smart Home Programming against an Epson ESC/VP21 projector simulator connected to an RTI XP processor's serial port, and with serial loopback on the processor. Test the trial against your own device before buying a key.

System Requirements

  • Integration Designer - 11.4 or above
  • RTI processor - XP-8 class (XP-3 / XP-6 / XP-6s / XP-8 / XP-8s / XP-8v)
  • Processor script runtime - 24 or above
  • An RS-232 cable between the processor's serial port and the device.

Device Setup

  • Connect the processor's RS-232 port to the device. On an XP processor the RJ45 serial port uses pin 6 = transmit, pin 5 = receive and pin 4 = ground (the supplied RJ45-to-DB9 adapter brings these out). Always connect ground as well as the two data wires.
  • Many devices need a null-modem (crossed) cable; if nothing comes back, swap transmit and receive.
  • Find the device's baud rate, data bits, parity and stop bits in its control manual and set the same values in Driver Properties.

Testing tips

  • For a loopback or bench test, set RX Framing Mode to None (raw). With a delimiter selected, received bytes only appear once a complete message ending in that delimiter arrives.
  • Commands left in ASCII format send their text literally; choose Hex Bytes for binary protocols.

Driver Configuration

Connection Settings

  • Serial Port - Pick the processor's RS-232 port (or virtual port for testing).
  • Baud Rate - default 9600 - Bits per second.
  • Data Bits - default 8 - Data bits per character - must match the device (usually 8).
  • Stop Bits - default 1 - Stop bits - must match the device (usually 1).
  • Parity - default None - Parity - must match the device (usually None).
  • Flow Control - default None - Hardware handshaking. Leave on None unless the device needs it.

Licence

  • Licence Key - 32-character HMAC-MD5 hex key issued by Smart Home Programming. The driver displays its MAC address in the LicenceStatus / MACForKey sysvars and in the web UI - send that MAC to support@smarthomeprogramming.com.au to receive your key.

Receive Framing

  • RX Framing Mode - default LF - None = raw bytes streamed as they arrive. Other options split the stream on a delimiter so each message arrives intact in the RX log.
  • Custom RX Delimiter (hex) - One or more bytes in hex. Only used when RX Framing = Custom Hex. Example: 03 for ETX, or 0D 0A for CRLF.

Web Interface

  • Enable Web Interface - default true - Hosts a control page on the processor. Disable for production if you do not want the port exposed.
  • Web Port - default 9030 - TCP port the control page listens on. Change if another driver already uses 9030.

Command Library

  • Number of Commands - default 5 - 0-50. Each command exposes a Send function and event tag. Commands beyond the count are hidden.

Command N (N = 1-50, same for each)

  • Display Name - default Command 1 - Friendly label shown in macro dropdowns and on the web page.
  • Data Format - default ASCII - How to interpret the Command Data field below.
  • Command Data - ASCII: type the text. Hex: type bytes like 1B 02 0D or 0x1B,0x02,0x0D (spaces/commas/0x are ignored).
  • Terminator - default CR - Bytes appended after the command data.
  • Custom Terminator (hex) - Hex bytes appended when Terminator = Custom Hex. Example: 03 for ETX.

Boolean Feedback Library

  • Number of Boolean Feedbacks - default 5 - 0-20.

Boolean Feedback N (N = 1-20, same for each)

  • Display Name - default Bool Feedback 1 - Friendly label shown on the web UI and bound to BoolFb1Name sysvar.
  • Category - default General - Organisational label (e.g. Power / Audio / Picture). Groups feedbacks on the web UI.
  • ON Pattern - Substring searched in incoming RX. When found, BoolFb1Bool := true. Example: ':PWR=01'
  • OFF Pattern - Substring searched in incoming RX. When found, BoolFb1Bool := false. Example: ':PWR=00'

Integer Feedback Library

  • Number of Integer Feedbacks - default 5 - 0-20.

Integer Feedback N (N = 1-20, same for each)

  • Display Name - default Int Feedback 1 - Friendly label.
  • Category - default General - Organisational label.
  • Prefix Pattern - Substring searched in incoming RX. When found, the first integer in the RX is extracted and written to IntFb1Int. Example: ':VOL=' matches ':VOL=15' and stores 15.

String Feedback Library

  • Number of String Feedbacks - default 5 - 0-20.

String Feedback N (N = 1-20, same for each)

  • Display Name - default Str Feedback 1 - Friendly label.
  • Category - default General - Organisational label.
  • Prefix Pattern - Substring searched in incoming RX. When found, the entire RX text is written to StrFb1. Example: ':SOURCE=' matches ':SOURCE=A0' so StrFb1 = ':SOURCE=A0'.

Enum Feedback Library

  • Number of Enum Feedbacks - default 5 - 0-20.

Enum Feedback N (N = 1-20, same for each)

  • Display Name - default Enum Feedback 1 - Friendly label.
  • Category - default General - Organisational label.
  • Patterns - Pipe-separated pattern|label pairs, semicolons between entries. Example: ':SOURCE=30|HDMI 1;:SOURCE=A0|HDMI 2;:SOURCE=11|Computer'. The first matching pattern's label is written to EnumFb1Str and its 1-based position to EnumFb1Int. Author via the web UI table editor for sanity.

Web interface and debug console

Browse to http://[processor-IP]:9030/ from any device on the same network. Click the gear on any command or feedback tile to edit it; web edits are stored on the processor and override Driver Properties until you choose "Reset to IDesign". The optional debug console is enabled by setting Debug Console Port in the hidden Debug category, then telnet [processor-IP] [port] and type help.

Licensing

The driver runs a 15-minute trial each time it loads. During the trial everything works. After 15 minutes, sends are refused (logged in TraceView) until a key is entered; feedback keeps updating. The trial is timed by the processor's own one-minute counter, so a clock or time-zone change cannot shorten or lengthen it.

To get a key:

  1. Load the driver. The MAC For Key variable (and the web page banner) shows the processor's MAC address, for example 00:15:26:0A:F1:AC.
  2. Buy the RS-232 Toolkit at https://smarthomeprogramming.com.au/store/ and enter that MAC. The key is emailed to you.
  3. Paste the 32-character key into Licence Key in Driver Properties and send the project. Spaces and line breaks in the pasted key are ignored.

Keys are per processor. The License Status variable reads Licensed, Trial or Unlicensed, with one boolean for each, and Trial Time Remaining shows the time left.

Functions

Send Custom Command

  • Send ASCII Text - Text
  • Send Hex Bytes - Hex

Connection

  • Reconnect

Send Slot

  • Send Command N: {cfgstrSlotNName} (N = 1-50)

Variables

Licence

  • Licence Status - string
  • Licence Valid - boolean
  • MAC For Key - string
  • Trial Active - boolean
  • Trial Expired - boolean
  • Trial Time Remaining - string
  • License Status - string
  • License Status - Licensed - boolean
  • License Status - Trial - boolean
  • License Status - Unlicensed - boolean

Connection

  • Port - string
  • Connected - boolean
  • Connection State - integer (0=Disconnected, 1=Connected)
  • Connection State - Disconnected - boolean
  • Status - string

Traffic

  • Last TX (ASCII) - string
  • Last TX (Hex) - string
  • Last RX (ASCII) - string
  • Last RX (Hex) - string
  • Last RX Time - string
  • TX Count - integer
  • RX Count - integer
  • Error Count - integer

Web Interface

  • Web UI URL - string
  • Web UI Listening - boolean

Command N: {cfgstrSlotNName} (N = 1-50, same for each)

  • {cfgstrSlot1Name} Name - string

Boolean Feedback N: {cfgstrBoolFbNName} (N = 1-20, same for each)

  • {cfgstrBoolFb1Name} Name - string
  • {cfgstrBoolFb1Name} Category - string
  • {cfgstrBoolFb1Name} State - boolean
  • {cfgstrBoolFb1Name} Last Response - string

Integer Feedback N: {cfgstrIntFbNName} (N = 1-20, same for each)

  • {cfgstrIntFb1Name} Name - string
  • {cfgstrIntFb1Name} Category - string
  • {cfgstrIntFb1Name} Value - integer
  • {cfgstrIntFb1Name} Last Response - string

String Feedback N: {cfgstrStrFbNName} (N = 1-20, same for each)

  • {cfgstrStrFb1Name} Name - string
  • {cfgstrStrFb1Name} Category - string
  • {cfgstrStrFb1Name} Value - string
  • {cfgstrStrFb1Name} Last Response - string

Enum Feedback N: {cfgstrEnumFbNName} (N = 1-20, same for each)

  • {cfgstrEnumFb1Name} Name - string
  • {cfgstrEnumFb1Name} Category - string
  • {cfgstrEnumFb1Name} Index - integer
  • {cfgstrEnumFb1Name} Label - string
  • {cfgstrEnumFb1Name} Last Response - string

Events

Connection

  • Connected
  • Disconnected
  • Connection Failed

Traffic

  • TX Sent
  • RX Received
  • Custom ASCII Sent
  • Custom Hex Sent

Licence

  • Trial Started
  • Trial Warning (3 minutes left)
  • Trial Expired
  • Licence Activated

Commands

  • {cfgstrSlotNName} Sent (N = 1-50)

Boolean Feedback Matches

  • {cfgstrBoolFbNName} Matched (N = 1-20)
  • {cfgstrBoolFbNName} Changed (N = 1-20)

Integer Feedback Matches

  • {cfgstrIntFbNName} Matched (N = 1-20)
  • {cfgstrIntFbNName} Changed (N = 1-20)

String Feedback Matches

  • {cfgstrStrFbNName} Matched (N = 1-20)
  • {cfgstrStrFbNName} Changed (N = 1-20)

Enum Feedback Matches

  • {cfgstrEnumFbNName} Matched (N = 1-20)
  • {cfgstrEnumFbNName} Changed (N = 1-20)

Autoprogramming Support

Drop these tags on a button to wire it automatically (command = the press, feedback = the button state).

| Tag | Wires | |---|---| | BoolFb N (N = 1-20) | feedback | | Command N (N = 1-50) | feedback | | EnumFb N (N = 1-20) | feedback | | IntFb N (N = 1-20) | feedback | | StrFb N (N = 1-20) | feedback | RS-232 Toolkit RTI Driver: STILL NEEDED by hand -> Version History, Driver Features, Supported Devices

Limitations

  • One serial port per driver instance. Load the driver again for a second port.
  • For a multi-byte custom receive delimiter, only the last byte is used to split messages.
  • Line settings cannot be changed while running: edit Driver Properties and send the project again.
  • Enum pattern lists longer than about 250 characters may not survive a reboot. Keep lists short.
  • The Connection State reports whether the serial port opened. A serial link has no handshake, so it cannot tell whether a device is actually connected; use a feedback to confirm the device answers.
  • The trial restarts each time the driver is loaded.

Support Contact

  • Smart Home Programming and Automation - David Bowdler
  • Email - david@smarthomeprogramming.com.au
  • Web - https://smarthomeprogramming.com.au

This driver requires a licence key tied to your RTI processor's MAC address.

  • Trial: 15-minute fully functional trial — no key required. All features work during the trial window. After 15 minutes, send operations are blocked; feedback and web UI monitoring continue.
  • Purchase: Visit https://smarthomeprogramming.com.au/store/ to buy a licence. Enter your processor MAC address at checkout — the key is emailed automatically.
  • Licence is per-processor — one key per XP processor. Multi-processor systems each need their own key. The MAC address is shown in the web UI banner and in the Licence category in Driver Properties.
Please log in to leave a comment.
Loading comments...