Infobit iTrans WP70HBC API Commands V1.0
2 x 1 USB-C & HDMI over HDBT 3.0 Wall Plate Extender Kit (Tx + Rx)
RS232 Default Setting
Parameters | Value |
---|---|
Baud Rate | 115200 bps |
Data bits | 8 bits |
Parity | None |
Stop bits | 1 bit |
Flow control | None |
Command Description
Take Command SET SW in out<CR><LF> as an example:
- [SET SW] denotes command key words, case insensitive.
- [in out] denotes parameters, case insensitive; incorrect parameters will not be recognized.
- <CR><LF> denotes a carriage return or a line feed; all commands must be ended up with a carriage return or a line feed.
System Setting
# | Function | Command | Example |
---|---|---|---|
1 | Factory reset | Command: RESET<CR><LF> Return: RESET<CR><LF> Description: Reset the device. |
Command: RESET<CR><LF> Return: RESET<CR><LF> Description: Factory reset all boards |
2 | System reboot | Command: REBOOT<CR><LF> Return: REBOOT<CR><LF> |
Command: REBOOT<CR><LF> Return: REBOOT<CR><LF> |
3 | Get the API list | Command: help<CR><LF> Return: XXXX |
Command: help<CR><LF> Return: XXXX |
Firmware Update
# | Function | Command | Example |
---|---|---|---|
4 | Get selected target firmware version | Command: GET VER target <CR><LF> Return: VER target prm<CR><LF> Parameter: target = {all, MCU, MCDP5200, TPS65988, .....} prm = {...} // According to actual firmware version. Note: MCDP520 and TPS65988 are available for transmitter only. |
Command: GET VER all <CR><LF> Return: VER module1 V1.2<CR> VER module2 V1.3<CR> VER module3 V1.4<CR><LF> Description: Get selected target app firmware version. |
5 | Upgrade module | Command: UPG [prm] <CR><LF> Return: UPG [prm] <CR><LF> Parameter: prm= {MCU, MCDP5200, TPS65988} Note: MCDP520 and TPS65988 are available for transmitter only. |
Command: UPG MCU<CR><LF> Return: UPG MCU<CR><LF> Description: Upgrade module. |
Switching
# | Function | Command | Example |
---|---|---|---|
6 | Switch one Input to Output Note: This command is available for transmitter only. |
Command: SET SW in out<CR><LF> Return: SW in out<CR><LF> Parameter: in = {typec, hdmi} out = {out} Description: SW is short for Switch. Switch one input source to one output sink. |
Command: SET SW hdmi out<CR><LF> Return: SW hdmi out<CR><LF> Description: Switch hdmi input to output. |
7 | Get which input is mapping to the Output Note: This command is available for transmitter only. |
Command: GET MP out<CR><LF> Return: Mp in out<CR><LF> Parameter: in = {typec, hdmi}; out = {out} Description: MP is short for mapping. |
Command: GET MP out<CR><LF> Return: MP hdmi out<CR><LF> Description: Current selected input source is hdmi. |
# | Function | Command | Example |
---|---|---|---|
8 | Set Auto Switch Function to on/off Note: This command is available for transmitter only. |
Command: SET AUTOSW_FN prm <CR><LF> Return: AUTOSW_FN prm <CR><LF> Parameter: prm = {on, off} Description: When the prm is on, Auto Switch Function is in active status. When the prm is off, Auto Switch Function is in inactive status. |
Command: SET AUTOSW_FN on <CR><LF> Return: AUTOSW_FN on <CR><LF> Description: Set Auto Switch Function to on. |
9 | Get Auto Switch Function on/off Status | Command: GET AUTOSW_FN <CR><LF> Return: AUTOSW_FN prm <CR><LF> Parameter: prm = {on, off} Description: Get Auto Switch Function is in active status or inactive status. |
Command: GET AUTOSW_FN <CR><LF> Return: AUTOSW_FN on <CR><LF> Description: Get Auto Switch mode is in active status or inactive status. The result is in active status. |
CEC Control
# | Function | Command | Example |
---|---|---|---|
10 | Send CEC command to control display on/off | Command: SET CEC_PWR out prm<CR><LF> |
Command: SET CEC_PWR out on<CR><LF> Return: |
11 | Enable/disable CEC automatic control of display off Note: This command is available for transmitter only. |
Command: SET AUTOCEC FN out prm<CR><LF> Return: AUTOCEC FN out prm<CR><LF> Parameter: prm = {on, off} out = {out} |
Command: SET AUTOCEC_FN out on<CR><LF> Return: AUTOCEC FN out on<CR><LF> Description: Enable CEC automatic control of display off. |
12 | Get if CEC automatic control of display off is enabled Note: This command is available for transmitter only. |
Command: GET AUTOCEC_FN out<CR><LF> Return: AUTOCEC FN out prm<CR><LF> Parameter: prm = {on, off} out = {out} |
Command: GET AUTOCEC_FN out<CR><LF> Return: AUTOCEC_FN out1 on<CR><LF> Description: Get if CEC automatic control of display off is enabled, the result is yes. |
# | Function | Command | Example |
---|---|---|---|
13 | Set the delay time to control the display off through CEC when no active signal is present Note: This command is available for transmitter only. |
Command: SET AUTOCEC_D out prm<CR><LF> Return: AUTOCEC_D out prm<CR><LF> Parameter: out = {out} prm = {1, 2, 3...,} // According to the actual time counter, 1 means 1 minute, 2 means 2 minutes, default waiting time is 2 minutes, maximum waiting time is 30 minutes. 0 means when no active signal is present, the display will power off automatically. Description: AUTOCEC_D is short for CEC auto Power Delay Timing. |
Command: SET AUTOCEC_D out<CR><LF> Return: AUTOCEC_D out<CR><LF> Description: Set the delay time for HDMI output to control the display off through CEC as 2 minutes, i.e. when no active signal is present at HDMI output for 2 minutes, it will automatically send CEC command to control its attached display off. |
14 | Get the delay time to control the display off through CEC when no active signal is present Note: This command is available for transmitter only. |
Command: GET AUTOCEC_D out<CR><LF> Return: AUTOCEC_D out prm<CR><LF> Parameter: out = {out} prm = {1, 2, 3...,} // According to the actual time counter, 1 means 1 minute, 2 means 2 minutes, default waiting time is 2 minutes, maximum waiting time is 30 minutes. 0 means when no active signal is present, the display will power off automatically. Description: AUTOCEC_D is short for CEC auto Power Delay Timing. |
Command: GET AUTOCEC_D out<CR><LF> Return: AUTOCEC_D out 2 <CR><LF> Description: Get the delay time for HDMI OUT to send CEC command to control the display off when no signal is present at HDMI OUT, and the result is 2 minutes. |
RS232
# | Function | Command | Example |
---|---|---|---|
15 | Set UART baud rate | Command: SET UART_B prm1 prm2<CR><LF> Return: UART_B prm1 prm2<CR><LF> Parameter: prm1 = {uart1} prm2= {9600, 19200, 38400, 57600, 115200} |
Command: SET UART_B uart1 9600<CR><LF> Return: UART_B uart1 9600<CR><LF> Description: Set UART1 baud rate to 9600. |