Support #21554
Remove dependency of erl-daq from erl-dpmclient
0%
Description
The Erlang DPM client library contains a module, acnetset
, that enables an Erlang application to make settings. Unfortunately, it uses a header file in the Erlang front-end framework. Our repository already contains all our Erlang applications so this may not seem to be a big deal, but we shouldn't make unnecessary dependencies. For instance, this means an Erlang client that only wants to be a DPM client needs access to the front-end framework, which then require all the framework's dependencies to be installed. The console library, CLIB, is hopelessly intertwined and I'd hate to see us go down that path.
The RETDAT
/GET32
/SETDAT
/SETS32
protocol and header files should probably all be pulled from the front-end framework and put in their own little applications.
This is probably not a trivial task; moving the SETDAT
protocol into a separate application probably means moving acnetset
from the erl-dpmclient
project into this new, setting application. Moving the RETDAT
protocols into a separate project means some of the code in the framework should be extracted and moved into the new application. The framework would then be modified to use it.