Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Using IP/Serial Adapters Other than Global Cache with iRule

Has anybody used successfully TCP-to-serial devices other than Global Cache as gateways for iRule? I have three different quality TCP/RS232 adapters that I can use to control my Nuvo Essentia E6G via telnet, but none of them are "seen" by iRule as gateways. I tried creating a gateway under the "Network" section with the correct adapter IP and port number, but keep getting "No gateways found" at the bottom of my virtual remote on my iPad (they are all on the same network, of course). Any ideas about specific settings iRule may be looking in the serial adapter for will be greatly appreciated. Any ideas about some software for testing serial adapter iRule compatibility will also be helpful.
1 person has
this problem
+1
Reply
  • You will probably have to create your own Gateways and Devices. iRule will not find the Gateways, you will have to create new ones. If the adapters use TCP, you will need to create a Network Gateway with the correct IP Address and Port Number. If the adapters use Http with the Get, Post, or Put Methods, you will need to create an HTTP Gateway.

    You will then need to create your own Device in the Builder. In the Device you will put the serial commands EXACTLY how they should be sent to the Nuvo.

    You may find it useful to download and run Hercules, a tcp/ip client. In it you can send serial commands to the Nuvo from your pc. This will help you get the exact right format for the serial commands. Once you have working commands, you can put them into your iRule Device.

    You will have to set up the adapters and the Nuvo to matching rs-232 parameters; baud rate, data bits, parity, stop bits, etc. You will need to set up these parameters in iRule and Hercules.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Thank you for the exhaustive reply. I was actually able to make i Rule “see” my serial device. The breakthrough came when I assigned actual device commands to buttons in my virtual remote. Previously I had just created a sample remote without assigning actual commands for the attached device. I think iRule “scans” the remote for any commands and “tests” the connection to the device with some sample command sequence in the same format. Only then it “greenlights” the gateway. Without proper commands assigned to the remote in advance iRule does not recognize the gateway (icon is grey).
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated