ADDER AVS-2214 Secure KVM Switch API User Manual

June 13, 2024
ADDER

ADDER AVS-2214 Secure KVM Switch API

ADDER-AVS-2214-Secure-KVM-Switch-API-product

Product Information

  • Product Name: Secure KVM Switch API
  • Manufacturer: Adder Technology Limited
  • Model Numbers: AVS-2114, AVS-2214, AVS-4114, AVS-4214 (KVM Switches), AVS-4128 (Flexi-Switch), AVS-1124 (Multi-Viewer)
  • Description: The Secure KVM Switch API is a remote control system that allows users to control Adder Secure KVM switches, flexi-switches, and multi-viewers using RS-232 connection. It provides the ability to perform actions on the switch remotely that would typically require manual operation from the front panel.

Product Usage Instructions

Installation

  1. Connect a suitable RS232 cable with an RJ12 connector to the RCU port of the switch.
  2. If your controlling device (PC or custom device) does not have an RS232 port, use a USB or Ethernet adapter.

Operation

Configuring Example Using PuTTY
This example demonstrates how to switch channels via RS-232 using a Windows PC as the remote control device.

  1. Install PuTTY on the remote computer.
  2. Connect a serial cable from the PC’s USB port to the switch’s RCU port.
  3. Run the PuTTY utility.
  4. Configure the Serial, Terminal, and Session settings as shown in the figures below:

PuTTY Serial Settings

PuTTY Terminal Settings

PuTTY Session Settings

Note:
After configuration, the device will start sending Keep-Alive events every five seconds to communicate the current configuration.

Switching Channels

KVM Switches
To switch channels on KVM switches, enter the command #AFP_ALIVE followed by the channel number operand:

Channel # Operand
1 FE
2 FD
3 FB
4 F7
5 EF
6 DF
7 BF
8 7F

Flexi-Switch
To switch channels on a flexi-switch, enter the command #AFP_ALIVE followed by the left/right side and channel number operand:

Left Side Channel # Operand Right Side Channel # Operand
1 FFFFFE 1 FFFEFF
2 FFFFFD 2 FFFDFF
3 FFFFFB 3 FFFBFF
4 FFFFF7 4 FFF7FF
5 FFFFEF 5 FFEFFF
6 FFFFDF 6 FFDFFF
7 FFFFBF 7 FFBFFF
8 FFFF7F 8 FF7FFF

Multi-Viewer
To control the multi-viewer, use the command structure comprised of 4 fields. The specific command structure and operands may vary based on the multi-viewer model. Refer to the product manual for detailed instructions.

Introduction

  • This guide explains how to use RS-232 to remotely control an Adder Secure KVM switch (AVS-2114, AVS-2214, AVS-4114, AVS-4214), flexi-switch (AVS-4128) and multi-viewer (AVS-1124).
  • To control a switch using RS232, the user needs to connect a controlling device to the switch’s RCU port. The controlling device can be a PC or any custom device with RS-232 capability.

Remote controlling means performing actions that users could otherwise do only using the front panel, including:

  • Switching channels
  • Audio hold
  • Selecting channels to display on left and right monitors (AVS-4128 only)
  • Switching KM control between left and right channels (AVS-4128 only)
  • Selecting preset layouts and updating window parameters (AVS-1124 only)

Installation

This procedure shows how to connect a switch to a remote-control device. A suitable RS232 cable will be required with an RJ12 connector to plug into the RCU port with the pinout shown below:

Pinout for the RDU port:

  • Pin 1: 5V
  • Pin 2: Not connected
  • Pin 3: Not Connected
  • Pin 4: GND
  • Pin 5: RX
  • Pin 6: TX

Few modern PCs have an RS232 port, so it may be necessary to use a USB or Ethernet adapter.

Operation

Configuring Example Using the PuTTY open-source serial console utility. This procedure demonstrates how to switch channels via RS-232 using a remote control Windows PC.

Pre-configuration

  1. Install PuTTY on the remote computer.
  2. Connect a serial cable from the PC’s USB port to the switch’s RCU port.
  3. Run the PuTTY utility.
  4. Configure the Serial, Terminal and Session settings, as per figures 1 to 3ADDER-AVS-2214-Secure-KVM-Switch-API-fig-2

Figure 1: PuTTY Serial Settings ADDER-AVS-2214-Secure-KVM-Switch-API-
fig-3

Figure 2: PuTTY Terminal Settings ADDER-AVS-2214-Secure-KVM-Switch-API-
fig-4

Figure 3: PuTTY Session Settings

Note:

  • At this point, the device starts sending Keep-Alive events, every five seconds.
  • Keep-Alive events are transmitted by the switch periodically to communicate the current configuration. For example, to switch a KVM to Channel 4, the user types: #AFP_ALIVE F7
  • Then, every five seconds, the device sends the following keep-alive event: 00@alive fffffff7 as shown in Figure 4.ADDER-AVS-2214-Secure-KVM-Switch-API-fig-5

The interval time of keep-alive events can be changed, using the #ANATA command followed by a time period operand in units of 0.1 second. Thus:

  • ANATA 1 gives an interval of 0.1 seconds

  • ANATA 30 gives an interval of 3 seconds

KVM Switches
To switch channels, enter the #AFP-ALIVE command followed by a channel number operand. For example, to switch to channel 3, enter:

#AFP_ALIVE FB

Channel # Operand
1 FE
2 FD
3 FB
4 F7
5 EF
6 DF
7 BF
8 7F

Figure 5: KVM Switch Channel Operands

To toggle the audio hold button, enter the command #AUDFREEZE 1

Flexi-Switch
To switch channels, enter the #AFP-ALIVE command followed by a left/right side and channel number operand. For example, to switch to channel 3 on the left monitor, enter:

#AFP_ALIVE FFFB

Left Side Right Side
Channel # Operand
1 FFFFFE
2 FFFFFD
3 FFFFFB
4 FFFFF7
5 FFFFEF
6 FFFFDF
7 FFFFBF
8 FFFF7F

Figure 6: Flexi-switch Channel Operands

Other commands:

  • Toggle the audio hold button: #AUDFREEZE 1
  • Toggle KM focus between left and right sides
    • Left: #AFP_ALIVE FEFFFF
    • Right: #AFP_ALIVE FDFFFF

Multi-Viewer

Command Structure
The command structure is comprised of the following 4 fields:

.

Where:

  • There is a space between each field
  • The pre-amble is either #ANATL or #ANATR, where:
    • ANATL equals the key sequence Left CTRL | Left CTRL

    • ANATR equals the key sequence Right CTRL | Right CTRL

  • Commands require 0, 1 or 2 operands
  • Command success: Upon successful command execution, the device returns the output: command + OK
  • Command failure: Upon failure, the device returns the output: command + Error Message
  • To initiate a new serial connection, enter #ANATF 1

Command List
The command is a translation of the keyboard hotkey listed in an Appendix of the Multi-Viewer User Manual (MAN-000007). Example translations are:

Description Hotkey API Command
Load preset #3 Left Ctrl Left Ctrl
Switch to channel #4 Left Ctrl Left Ctrl
Maximize active channel to full screen Left Ctrl Left Ctrl

Figure 7: Example commands

The most common commands are likely to be loading a preset and positioning and resizing windows on the display. The general format of the command to move and resize a window is:

  • ANATL F11 END

Where:
Channel is 1 to 4

Operation is:

  1. Window top left X location (0 to 100%)
  2. Window top left Y location (0 to 100%)
  3. Window X extent as percentage of total X width
  4. Window Y extent as percentage of total Y height
  5. X offset (the location of the window compared to the full image size when bigger).
  6. Y offset (the location of the window compared to the full image size when bigger).
  7. X scaling as a percentage
  8. Y scaling as a precentage

Percent is a 4 digit number in increments of 0.01%
Note that where dual monitors are used in Extend mode, the percentages relate to the total display size. For example, to set the window for channel 1 to occupy the 4th quadrant:

Description API Command
Set the window top left X position at half display #ANATL F11 END 1 1 5000
Set the window top left X position at half display #ANATL F11 END 1 2 5000
Set window X extent to half screen #ANATL F11 END 1 3 5000
Set window Y extent to half screen #ANATL F11 END 1 4 5000

Figure 8: Set Channel 1 to 4th quadrant (single monitor)

Note that the commands change slightly when using dual side by side monitors:

Description API Command
Set the window top left X position at half display #ANATL F11 END 1 1 2500
Set the window top left X position at half display #ANATL F11 END 1 2 5000
Set window X extent to half screen #ANATL F11 END 1 3 2500
Set window Y extent to half screen #ANATL F11 END 1 4 5000

Figure 9: Set Channel 1 to 4th quadrant of left monitor

There is one command that doesn’t adhere to the aforementioned pattern, Audio Hold. To toggle the audio hold button, enter the command:

  • AUDFREEZE 1

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals