This listing has not been migrated to FAB by the seller. It is only available to use from your Vault in the Epic Games Launcher.Learn more about Fab

Serial Communication

realtools - Code Plugins - Oct 19, 2023

A plugin for serial port access, supporting (a)synchronous read/write operations, waiting for events, querying driver capabilities, &c.

  • Supported Platforms
  • Supported Engine Versions
    5.2 - 5.3
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

A plugin for serial port access, supporting (a)synchronous read/write operations, waiting for events, querying driver capabilities, &c.

You can checkout the demo video for doing asynchronous reads that shows some of the capabilities of the plugin. In the demo, 1 megabyte of data is transferred asynchronously in packets of 16 bytes from a microcontroller board. The widgets are also included in the plugin content.

You can checkout the demo video for doing asynchronous writes.

All of these widgets are included as content as part of the plugin.

Technical Details

This plugin features most of the main functionality that you'll get in the Win32 communications(COMM) API. Main features consist of:

  • Read/write operations on COM ports
  • Asynchronous Blueprint read/write operations with overlapped I/O
  • Wait for serial communication events (synchronous or asynchronous with overlapped I/O)
  • Get/set device control block to modify baud rate, parity scheme, stop bits, data bits(data byte size), DTR, RTS control, &c. See DCB Structure (Microsoft Docs)
  • Modify timeout settings
  • Set buffer sizes for RX/TX (recommendations for the driver)
  • Clear driver errors & query status(RX/TX Queue)
  • Querying serial driver properties(if available)
  • Format Win32 API error messages
  • Large set of functions for converting from/to bytes and various BP types

Code Modules:

  •  SerialCommunication (Runtime)

Number of Blueprints: 3 Widget Blueprints for Demonstration

Number of C++ Classes: 9 classes, 6 structs

Network Replicated: No

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

Documentation: Google Drive[PDF]

Important/Additional Notes: Reach out to me via cevigokalp8@gmail.com

Tags

TTLRS232MICROCONTROLLERFPGAWINDOWS APIUARTSERIAL BUSSTM32SERIAL COMMUNICATIONNoAISERIAL PORTSERIALPORTCOMMWIN32WINDOWSARDUINO