GC-100 Serial Help

Topics related to the TouchControl Server software.
Post Reply
wallace4793
Posts: 2
Joined: Tue Oct 31, 2017 8:36 pm

GC-100 Serial Help

Post by wallace4793 » Tue Nov 07, 2017 10:55 pm

Hi,

Im just getting to know the app and server after using iRule for a couple of years (so I may post a bit - sorry in advance). I have a couple of issues to start off :

1, My first basic buttons on my gc-100 work fine when using the web browser on my mac but bot on my iphone, however my http requests work ont he iphone?

2. What is the correct format for hex and how do I select port 1 or port 2 for the serial? An example of my hex is \x05\x55\x19\x1D\x77 which works in iRule and looks like an example in the guide? Note its a HDMI switch im trying to work on serial port 2.

Thanks

John

User avatar
Dave
Site Admin
Posts: 77
Joined: Mon Dec 01, 2014 12:41 pm
Contact:

Re: GC-100 Serial Help

Post by Dave » Wed Nov 08, 2017 3:09 am

Hi John. Welcome to TouchControl! For GC-100 serial ports, you would need to create an interface host entry (using Interface Manager in TouchControl Server) for each serial port you want to use. The first serial port on the GC-100 is 4999, the 2nd is 5000, etc. Here's GC's doc on that:
Serial data is communicated over Ports 4999 and higher. Serial connections with the lowest module number will communicate over Port 4999; serial connections with the next higher module number will communicate over Port 5000, and so on.
Any button you want to send over the first serial port would use the Host created for that port, and likewise for the 2nd port.

To send a hex command, start the command with "0x:" and enter the hex values in a single string, with no separators, like this:

Code: Select all

0x:0555191D77
In some cases you may need to combine an ascii command with a hex command. In that case in TC you would use hex tags as follows:

Code: Select all

someCommand\x05\x55\x19\x1D\x77
Hope that makes sense. Let me know if you have any other questions or problems.

Post Reply