INOGENI TOGGLE
User guide
Version 1.7
1/7/22

VERSION HISTORY
VersionDateDescription

1.0

April 9, 2021

First release

1.1

May 20, 2021

Update RS232 commands section. Change « HOSTx » for « PCx ».

1.2

June 15, 2021

Adding block diagram.

1.3

June 22, 2021

Add GPIN level mode.

1.4

August 27, 2021

Adding more detailed RS232 communication explanations.

1.5

September 13, 2021

Adding more detailed RS232 communication explanations.

1.6

November 8, 2021

Add button lock status (LEDs) with firmware 1.3.

1.7

January 7, 2022

Add RS232 connection diagram.

CONTENTS
Version history ............................................................................................................................................................... 1
Typical application ......................................................................................................................................................... 2
Block Diagram ................................................................................................................................................................ 2Device interfaces ........................................................................................................................................................... 3
Leds behavior ................................................................................................................................................................ 4
Operating modes ........................................................................................................................................................... 4Specifications ................................................................................................................................................................. 5
Serial communication protocol ....................................................................................................................................... 6
GPIN Mode .................................................................................................................................................................... 7
Important Notes about GPIN ..................................................................................................................................... 7Settings.......................................................................................................................................................................... 8
INOGENI Control App .................................................................................................................................................... 9Support......................................................................................................................................................................... 101

TYPICAL APPLICATION
Here is a typical connection diagram used for the TOGGLE device in a videoconferencing setup.

BLOCK DIAGRAM
Here is a simple block diagram of the TOGGLE unit.

USB device1

PC1

USB device 2

PC2

MCUControl:
RS232 / GPI /USB HID / Push buttonUSB 3.0/2.0
hub

USB device 3Power sources:+12V, PC1 or PC22

DEVICE INTERFACES
Here are the devices interfaces.

RS232 and GPIN interfaces
3 x USB-A ports for devices
PC #1 USB-B port
PC #2 USB-B port
Push-button+12V power input
PC #1 led indicator
PC #2 led indicator
Power indicator

3

LEDS BEHAVIOR
Here are the leds behavior:
PCx LEDs
OFFNo PC connected.

SOLID

PC currently selected.

ONE HOST BLINKPC detected but not currently selected.

BOTH HOST BLINK

User pushed the button, but the button is locked. Please see SCLK command.

Power LEDOFFNo power present on board.

SOLID

Power detected.

BLINK

Over-current detected on USB devices.

LED Intensity

FULL intensity if power is provided through external power supply.
MEDIUM intensity if power is provided through USB connections (PC1 or PC2).

IMPORTANT: If all leds are blinking in sync, this means the unit is in the upgrade process. This
happens only while you upgrade the unit.

OPERATING MODES
There are two modes supported by the device. They will be explained here.
AutomaticThis is the default mode. This mode will switch automatically to the last PC1 connected. If the current PC isdisconnected, the device will switch back to the other PC if it is detected. Push-button action and remotecontrol are also supported.
ManualThe manual mode will enable you to force a specific PC selection. Push-button action and remote control arealso supported. It is possible to turn OFF both PCs in manual mode.
These modes can be set through our INOGENI Control App or through the RS232 interface. The mode will be saved
onboard the device.

1 PC: any host computer or laptop.

4

SPECIFICATIONSHere is the complete specification.
Physical details
Dimensions (W x L x H)
Power supply
Power consumption
WeightPackage content
Operating temperature
Storage temperature
OriginWarranty
General specifications
USB host ports
USB device ports
Serial interface
Push-button

GPIN

Device current limit
SoftwareUpgradeControl

70 x 83 x 23 mm
12V
Up to 1.2A
113 g
2 x USB 3.0 Type-B to Type-A cables.
1 x terminal block connection.
1 x 12V power supply.
0° to 45° C (32° to 113° F)-40° to 105° C (-40° to 221° F)
Canada2 years

2 x Type-B USB 3.0/2.0 compatible.
3 x Type-A USB 3.0/2.0 compatible.
Baud rate: 9600
For control purpose. See Serial communication protocol section for moredetails.
Physical switch to select host.
Contact-closure control.
Controlled by open-drain IO (short to ground) or driven IO.
Supported voltage range: 0V to +12V max.
Voltage threshold is 0.7V for HW revision 2.0.
Voltage threshold is 2.3V for HW revision 3.0+2.
1.8A shared current limit for all 3 x USB device ports.
You can monitor current consumption through RS232 and our Control App.

Field upgradable through our INOGENI Control App.
Automatic, manual or remote control.
Current configuration is saved onboard.

2 Please use the Control App from INOGENI to identify the hardware revision of your product.

5

SERIAL COMMUNICATION PROTOCOL

RXGND
TX
GPI

Here is the complete list of commands provided through the serial connection. Pinout is indicated on the enclosure.

Connect to controller TX pin
Connect to controller GND pin
Connect to controller RX pin

Baud rate: 9600 // Data bits: 8 // Stop bits: 1 // Parity: None // Flow control: NoneCommandsArguments

ReturnFunction description

FW

NA“FW_VER:X.Y”
where X = MAJOR andY = MINOR version.

Get firmware version.

SLCK

0,1

NA

Set/unset button LOCK

GLCK

NA

0,1

Get button LOCK status.

SH

0,1,2

NA

GH

NA

0,1,2

GCAUSENA“HOST_OFF““HOST_CHG“
“BTN“
“CMD“

GHV

1,2

GDI

1,2,3

SGMOD

0,1

“X.YZV“
Where X = units value
YZ = decimal value“X.YZA“
Where X = units value
YZ = decimal value
NASelect PC.
0=OFF
1=PC1
2=PC2
Get PC selected.
0=OFF
1=PC1
2=PC2
Get last PC switching cause:- HOST_OFF: No inputs selected. PC selection process
is changing between PC1 and PC2 or both hosts areOFF.
HOST_CHG: PC1 or PC2 appeared / disappeared inmode AUTO;- BTN: Button has been used to change PC selection.
- CMD: RS232 command has been used to change PCselection.
Get PCx voltage.

Get device X current.
Set GPIN mode: (pulse =’0’, level = ‘1’)

6GGMOD

NA0,1

Get GPIN mode (pulse =’0’, level = ‘1’)

GHPW

1,2,30,1

Get HUB power status. If report ‘0’, then the HUB hadturned OFF the specified USB port (overcurrent).

SAVE

NANASave settings.

SEV0,1NA

Set/clear events (prints).

SM0,1

NASet/clear manual mode.(auto=’0’, manual=’1’)GMNA

0,1Get manual mode status.

DEF

NANA

Force factory default settings

RSTNAH

NA

NA

Reset MCU.

List of all commands

Get user help.

You need to add a carriage return character “\r” at the end of the command string.
All commands without return values will append 2 possible answers: “ACK\n\r” or “NACK\n\r”.
All commands with return values will return the following pattern:-If command is recognized: “[value]\n\rACK\n\r”
If command is not recognized: “NACK\n\r”

NOTE: The user needs to put a space character between the command name and argument. For
example, when user wants to choose HOST#2, you need to send “SH 2\r” to the device. Please notethe space character.

GPIN MODE
With the introduction of firmware 1.1+, there are two (2x) GPIN modes: pulse mode and level mode.
-The GPIN pulse mode is the factory default. Each transition from HIGH to LOW on GPIN pin will force a PC
change. See the following picture for the explanation of the mode.

Figure 1 : GPIN Pulse Mode

-The GPIN level mode uses a level “0” (short to ground) and “1” (open or voltage higher than threshold) toselect a specific PC.
o A level “0” or short to ground: PC2 is selected.
o A level “1” or open: PC1 is selected.

IMPORTANT NOTES ABOUT GPIN

7--

It is recommended to set the Toggle in manual mode with the UART command “sm” when using the GPIN
(especially with level mode). If the Toggle is used in auto mode, any changes on the PCx side will affect thePC selected even if the GPIN level mode is used.
It is also recommended to lock the button with the UART command “slck” when the GPIN is used in levelmode.
For Toggle with a hardware revision of 2.0, you need to connect the external power supply to use the GPIN.
The Control App software from INOGENI will report the exact hardware revision.

SETTINGS
Some settings can be saved with the “SAVE” command. These settings are:
- Presence or absence of events on serial ports. Events are used for diagnostic. An event returned by the unit always
starts with the string “EVT:” The “SEV” serial command is used to enable/disable the events. This command also
automatically saves this setting inside the device.
- Manual or automatic mode for PC selection. The “SM” command is used to switch between manual and automatic
modes. This command also automatically saves this setting inside the device.
- If manual mode is selected and the GPIN level mode is disabled: the specific PC selected is also saved. The “SH”
command is used to select between PC1, PC2 or OFF. This command also automatically saves this setting inside thedevice.
- If the button is locked or not. The “SLCK” command is used to select between these modes. *This command also
automatically saves this setting inside the device with firmware 1.3+.
- If the GPIN level mode is selected or not. The command “SGMOD” is used to select between these modes. *This
command also automatically saves this setting inside the device with firmware 1.3+.
- The “DEF” command restores the default settings of the device. It will take effect immediately. The factory default
settings are:1)
2)
3)
4)

No events.
Automatic mode for PCx selection.
GPIN_LEVEL disabled.
Button unlocked.

- The user can change settings with both the serial port commands and with the ControlApp (see next section).

8

INOGENI CONTROL APP
You can use our Control App to monitor firmware information, upgrade and configure your unit.

NOTE: You need to use the USB-B to USB-A cable provided with the box for the Control App to detect
the unit.

9SUPPORT
Engineered by video professionals, for video professionals, it is your most compatible USB 3.0 device. INOGENI
expertise at your fingertips:••Expert Technical Support team at support@inogeni.com for immediate help or if you have any technicalquestion about our products.
Extensive Knowledge Base to learn from other customers experiences.

© Copyright 2022 by INOGENI INC. All Rights Reserved.
INOGENI name and logo are trademarks or registered trademark of INOGENI. Use of this product is subject to theterms and conditions of the license and limited warranty in effect at the time of purchase. Product specifications canchange without notice.
INOGENI, Inc.
979 de Bourgogne avenue, suite 530Québec
G1W 2L4 (QC) Canada10