Stagelinq protocol API availability? (Part 1)

@erikrichardlarson - the new version crashed right away. My setup is 2x SC5000 + X1800 mixer.

I was toying around with @DJRobF library yesterday for a few hours and I observed following behavior:

  1. When the library starts listening for UDP broadcasts
  2. In case it receives a “DISCOVERER_HOWDY_” message from X1800 mixer, it tries to connect to it’s port 50010 (as that port is in always in broadcast message content) → X1800 refuses the connection and the library crashes.
  3. SC5000 players send “DISCOVERER_HOWDY_” messages with different ports, and when connecting to those ports the SC5000 first accepts the incoming connection but then closes it right away.

Here are the relevant log entries (I added more logging in order to get the full details of the DISCOVERER_HOWDY_ msgs):

[00:57:08] [INFO] Found ‘sc5000’ Controller at ‘192.168.1.101:37503’ with following software: { name: ‘JP07’, version: ‘2.1.1’ }

[00:57:08] [LOG] controller: {“token”:{“0”:15,“1”:90,“2”:144,“3”:1,“4”:237,“5”:133,“6”:65,“7”:63,“8”:140,“9”:191,“10”:248,“11”:104,“12”:6,“13”:105,“14”:98,“15”:113},“source”:“sc5000”,“action”:“DISCOVERER_HOWDY_”,“software”:{“name”:“JP07”,“version”:“2.1.1”},“port”:37503,“address”:“192.168.1.101”}

[00:57:08] [INFO] Found ‘DN-X1800Prime’ Controller at ‘192.168.1.100:50010’ with following software: { name: ‘JM08’, version: ‘1.00’ }

[00:57:08] [LOG] controller: {“token”:{“0”:0,“1”:0,“2”:0,“3”:0,“4”:0,“5”:0,“6”:0,“7”:0,“8”:128,“9”:0,“10”:0,“11”:5,“12”:149,“13”:0,“14”:235,“15”:108},“source”:“DN-X1800Prime”,“action”:“DISCOVERER_HOWDY_”,“software”:{“name”:“JM08”,“version”:“1.00”},“port”:50010,“address”:“192.168.1.100”}

…and when trying to telnet:

kalle@Kalle-Air ~ % telnet 192.168.1.101 37503 Trying 192.168.1.101… Connected to 192.168.1.101. Escape character is ‘^]’. Connection closed by foreign host.

kkirjala@Kalle-Air ~ % telnet 192.168.1.100 50010 Trying 192.168.1.100… telnet: connect to address 192.168.1.100: Connection refused telnet: Unable to connect to remote host kkirjala@Kalle-Air ~ %

I am a NodeJS developer by profession, so I’d be very happy to participate in reverse engineering the protocol :slight_smile: