A Swift Package Manager wrapper around ETC's RDM helper library for the ANSI E1.20 (RDM) protocol.
RDM is an ANSI standard for remotely configuring devices which are controlled via DMX512. More information about RDM can be found here.
This swift wrapper for a C-language library is intended to be a very lightweight RDM implementation; it provides types, functions for building and parsing messages, and may in the future provide a basic implementation of RDM discovery.
cd c-swiftRDM
git submodule update --init --recursive
- Install pkg-config (using Homebrew):
brew install pkg-config
- Install the RDM library:
cd RDM
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../../ios-cmake/iOS.toolchain.cmake ..
make install
To check the RDM library has been correctly made in the right location with a pkg-config file:
pkg-config RDM --libs --cflags
which should return -I/usr/local/include -L/usr/local/lib -lRDM -lEtcPal
.
RDM is official, open-source software developed by ETC employees and is designed to interact with ETC products. For challenges using, integrating, compiling, or modifying this software, we encourage posting on the issues page of the RDM project.