Welcome to the FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
How to Receive Technical Support::
If you are needing assistance with FlexRadio products, please refer to the product documentation or check the Help Center for known solutions. Need technical support from FlexRadio? It's as simple as creating a HelpDesk ticket.

TCP control of Antenna Genius

Options
K5XH
K5XH Member ✭✭✭

Can anyone tell me what the TCP command(s) are required to set the input port (1 or 2) to an output port (1-8) on a AGXL 8x2 switch? I have spent a few hours trying to figure this out with suggestions from Google/ChatGPT. I get various suggestions but none work. Some have a format similar to what is used to control the radio like "ant 1 sel=4". Some show "ant portA 4". Some show something like "C1|<code>. Another shows a long string of bytes like:

byte[] commandPayload = new byte[]{

0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00};

I found the "Genius Series Communication Protocol" document but it makes even less sense.

Controlling the radio via TCP was relatively easy but the AG has me stumped.

6600, TGXL, PGXL, SmartSDR version 4.2.18, AGXL version 4.1.8.

Thanks,

Mark K5XH

Answers

  • David Decoons, wo2x
    David Decoons, wo2x Member, Super Elmer Moderator
    edited 3:55AM
    Options

    Would be formatted as follows

    C48|port set 1 rxant=5\n

    Sequence number|port set (1for A or 2 for B) rxant=(antenna port number)\n (linefeed)

    Setting rx antenna will set tx antenna, but you can also have a port programmed rx only.

    73 Dave wo2x

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.