Integrate DNP3 outstation communication into your SCADA, industrial automation or embedded application—without developing the protocol stack from scratch.
VestaTel DNP3 Server Library is a portable C-language implementation of the DNP3 outstation (server) protocol. It provides static and event data reporting, unsolicited responses, control commands and time synchronization over TCP/IP, UDP/IP and serial connections.
Protocol functionality and integration features for industrial systems and engineering teams.
Binary and double-bit binary inputs, binary outputs, analog inputs and outputs, and counters. Configurable Class 1, 2 and 3 event queues.
Configurable unsolicited event responses, including confirmation timeouts and retry handling.
Support for Select-Before-Operate (SBO) and Direct Operate commands, with application callbacks for processing control requests.
DNP3 communication over TCP/IP, UDP/IP and serial interfaces, using a separated channel layer.
Processing of DNP3 time synchronization requests, with platform-specific time services abstracted through the HAL.
Set application fragment sizes, timeouts, retry counts, event queue capacities and object variations to suit your application.
The protocol implementation is organized into application, transport, data-link and channel layers. A separate object parser handles DNP3 object processing. The customer application interfaces with the library through its C API and callbacks.

Library architecture — application and protocol layers with channel abstraction.
Diagram asset: images/dnp3s_arch.png (included separately with this page).
Supplied platform-specific code supports Linux and Windows. The Hardware Abstraction Layer (HAL) separates sockets, serial interfaces and time functions from the protocol implementation, allowing adaptation to other platforms.
| Environment | Build toolchain | Communication |
|---|---|---|
| Linux | GCC / GNU Make | TCP/UDP and serial |
| Windows | GCC / Cygwin | TCP/UDP and serial |
| Other / embedded platforms | Platform-specific | HAL and serial porting required |
The manual also describes Microsoft Visual C++ compatibility; the documented GNU Make build procedure covers Linux and Cygwin. Embedded deployment requires porting and verification on the target.
dnp3s/ — DNP3 server protocol implementation.
demo/ — command-line outstation example showing configuration, communication and point handling.
util/ — hardware abstraction and supporting utility functions.
docs/ — user manual, DNP3 device profile and license agreement.
The user manual includes build instructions, porting and integration guidance, configuration parameters, API and callback references, and example application usage.
Publish the PDF as vestatel-dnp3s-user-manual.pdf alongside this page to enable the manual link.
Interested in licensing the DNP3 Server Library for your product or project? Contact VestaTel to discuss your target platform, communication interfaces and integration requirements.
Commercial terms and licensing arrangements are available on enquiry.