mathis_s d14be22b7a
Test And Build / Format (push) Has been cancelled
Test And Build / Lint (push) Has been cancelled
Switched to find_package
2025-12-16 16:43:29 +01:00
2025-09-10 15:39:15 +02:00
2025-08-19 11:34:58 +02:00
2025-12-16 16:43:29 +01:00

Midas TCPIP Bus Driver

This repository contains bus driver code for interacting with devices via TCPIP, with integrated ETS logout.

Building Library

cmake -S . -B "./build" -DBUILD_FRONTEND=ON
cmake --build "./build" --clean-first -- -j

Or just include this as a subdirectory of your CMake Project.

add_subdirectory(<path-to-tcpip-directory>)

target_link_libraries(
    <executable-name>
    PRIVATE
    tcpip
    <other-libraries-as-necessary>
)

Running Tests

After building, in one terminal start the nmap-ncat version of netcat as follows:

nc -e /bin/cat -lk 9070

This just starts a server listening on port 9070 that sends back every byte it receives.

You can then run the test executable:

"./build/test_tcpip"
S
Description
Midas Reconnecting TCPIP Bus Driver
Readme 250 KiB
Languages
C++ 93.4%
CMake 4%
C 2.6%