eDidio DMX Controller TLS Communication


 

I need to send HEX commands to an eDidio DMX controller.
The eDidio DMX controller uses TLS.
Can I do this with a TCP or UDP client in SIMPL Windows?
I've already tried both, using ports 443 as well as 23, tried \0D delimiter, etc. but no success.
I see a TCP Connected FB when using port 443.
The eDidio DMX controller responds without issue from its own "Configurator" PC software (sending the raw string(s) as well as its own Spektra app, so I know strings/commands/DMX controller all working.
An example string which starts "Sequence 2" (I've tried all the variations):
Native:
cd,00,0e,aa,01,0b,0a,09,08,0c,10,ff,01,18,01,20,01
Other variations:
\xCD\x00\x0e\xaa\x01\x0b\x0A\x09\x08\x0C\x10\xff\x01\x18\x01\x20\x01
\xCD\x00\x0e\xaa\x01\x0b\x0A\x09\x08\x0C\x10\xff\x01\x18\x01\x20\x01\x0D
0xcd,0x00,0x0e,0xaa,0x01,0x0b,0x0a,0x09,0x08,0x0c,0x10,0xff,0x01,0x18,0x01,0x20,0x01
0xcd,0x00,0x0e,0xaa,0x01,0x0b,0x0a,0x09,0x08,0x0c,0x10,0xff,0x01,0x18,0x01,0x20,0x01,0x0D
Any help appreciated.


 

Are you sending the strings as native bytes or ASCII equivalents?
Most of what you have listed are just different forms of notation for the same thing.
e.g. cd is equivalent to 205 or 11001101 in binary.
Assuming your strings are correct, pasting \xCD\x00\x0e\xaa\x01\x0b\x0A\x09\x08\x0C\x10\xff\x01\x18\x01\x20\x01 into an SIO should work on TCP port 23 (according to the documentation). It does not matter if it is lower or upper case as the Hex notation is just a human readable form of single byte binary and the SIO symbol will interpret it, though it is better to decide what you prefer to use and stay with it, the string you pasted are mixed. (If you are just going to use preset strings then an SIO is the easiest way to do it. If you are planning to do something more adventurous then S+ should be easy enough, but you need to build your strings correctly.
 

From the vendor website

"Once the Protocol Buffer message has been serialised it must be sent in the following format by prepending the eDIDIO Series 10 specific "wrapper". [Start Byte, Length MSB, Length LSB, ...PB message bytes...]

  • The Startbyte is 0xCD.
  • Length is the total length of the protocol buffer message."
We can see that your string has the start byte and it's length is 00 0e which = 14 and there are in fact 14 bytes following in your string, so should work. Try the SIO method into a TCP symbol first.
 
Lindsay


 

Thanks Lindsay.
To follow up on this, I had to reflash the eDidio DMX controller with their native firmware, as the unit I had was flavored for Control4, which left TCP port 23 disabled, as well as other things.
Once back to non-TLS, and using port 23 with a TCP client, I was able to connect my MC3 to the eDidio S10 and send the commands in the following format:
 
\xCD\x00\x0e\xaa\x01\x0b\x0A\x09\x08\x0C\x10\xff\x01\x18\x02\x20\x01
 
No line feed or carriage return.  This is a string to start "Sequence 2", as created in the Spektra app for eDidio DMX controller.