...
On Gen 2 M120e devices, the two SPDIF ports are configurable as inputs or outputs in a number of different ways.
These protocol commands should be sent over telnet on port 17037
The digital I/O options are configured using the "Digital input/output options" command (17). The third byte of the command is 00
for flexport A and 01
for flexport B. The fourth byte of the command is currently one of the following:
...