Skip to content

A SwiftPM wrapper around ETC's RDM helper library

Notifications You must be signed in to change notification settings

ETCLabs/c-swiftRDM

Repository files navigation

c-swiftRDM

A Swift Package Manager wrapper around ETC's RDM helper library for the ANSI E1.20 (RDM) protocol.

RDM

Build Status

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.

Build

  1. Intialise the submodule dependancies (RDM and iOS CMake):
cd c-swiftRDM
git submodule update --init --recursive
  1. Install pkg-config (using Homebrew):

brew install pkg-config

  1. 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.

About this ETCLabs Project

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.

About

A SwiftPM wrapper around ETC's RDM helper library

Resources

Stars

Watchers

Forks

Packages

No packages published