API Command Guide HDIP100 4KIP200 Series V1.0.3
API Command Guide HDIP100 4KIP200 Series V1.0.3
HDIP100E
HDIP100D
4KIP200E
4KIP200D
4KIP204E
4KIP200M
Contents
1. Overview ........................................................................................................................................................................................................ 3
2. Fundamental Knowledge ....................................................................................................................................................................... 3
3. Requirements of the Developers ......................................................................................................................................................... 4
4. How the Client App Interacts with Devices ..................................................................................................................................... 4
5. Before You Start .......................................................................................................................................................................................... 4
6. Discovering Devices .................................................................................................................................................................................. 5
7. Functions Based on Telnet Session ..................................................................................................................................................... 6
7.1 Functions for TX and RX ........................................................................................................................................................... 6
7.1.1 Logging in to the Device ............................................................................................................................................... 6
7.1.2 Setting and Saving Device Alias ................................................................................................................................. 6
7.1.3 Setting/Getting IP Address and Netmask for/from Device .............................................................................. 7
7.1.4 Operating the Serial Port ............................................................................................................................................... 8
7.1.5 Rebooting Device ............................................................................................................................................................. 9
7.1.6 Getting Firmware Version ........................................................................................................................................... 10
7.1.7 Restoring Device to Factory Defaults ..................................................................................................................... 10
7.2 Functions for TX Only .............................................................................................................................................................. 10
7.2.1 Setting HDCP.................................................................................................................................................................... 10
7.3 Functions for RX Only.............................................................................................................................................................. 11
7.3.1 Setting Communication Modes for Controlling Display On/Off via RX .................................................... 11
7.3.2 Setting CEC Commands for Controlling Display On/Off ................................................................................. 11
7.3.3 Setting RS232 Commands for Controlling Display On/Off ............................................................................ 11
7.3.4 Instructing Device to Control Display On/Off ..................................................................................................... 12
7.3.5 Sending Specific CEC Commands to the Display............................................................................................... 12
7.3.6 Assigning a Source to RX ............................................................................................................................................. 13
7.3.7 Getting the Source Assigned to RX ......................................................................................................................... 14
7.3.8 Rotating Video ................................................................................................................................................................. 15
7.3.9 Video Wall.......................................................................................................................................................................... 15
7.3.10 Instructing RX to Force a Resolution Output .................................................................................................. 17
7.3.11 Instructing RX to Force Color Space (RGB or YUV) Output ....................................................................... 18
7.3.12 Closing the Output of Idle Image (Image reads “No Source”) on Detecting No Source................ 18
7.3.13 Obtaining Display EDID .......................................................................................................................................... 19
7.3.14 Overlaying Translucent Texts on Video ............................................................................................................ 19
7.4 Functions for MRX Only .......................................................................................................................................................... 20
7.4.1 Design Overview ............................................................................................................................................................. 20
7.4.2 Selecting Video Sources............................................................................................................................................... 21
7.4.3 Obtaining Layout Information .................................................................................................................................. 22
7.4.4 Receiving Notifications of Layout Change ........................................................................................................... 27
8. Switching Multiple RXs to a Source Simultaneously .................................................................................................................. 27
9. Getting Preview Stream of TX ............................................................................................................................................................. 28
10. Uploading Idle Image to RX ....................................................................................................................................................... 28
11. Uploading an Image to Overlay on Video ............................................................................................................................ 29
11.1 Uploading Image ...................................................................................................................................................................... 29
11.2 Displaying Images .................................................................................................................................................................... 29
12. Upgrading Firmware .................................................................................................................................................................... 30
13. Document Revision History ....................................................................................................................................................... 31
www.avaccess.com 2 [email protected]
1. Overview
This document briefly introduces the API commands of the following encoders and decoders for
4K Products:
2K Products:
2. Fundamental Knowledge
• Device Name: hereinafter referred to as “hostname”, consists of the device type and the 12-digit
MAC address of the network card, each of which is connected to another via the hyphen “-”, e.g.,
“IPE935-341B22822FEF”. Since the MAC address is unique globally, it is used to represent the
• Key-Value Pair: The devices can use the extra storage space to store some custom parameters of
the application layer, such as the device alias, which exists in the form of K-V pairs and will not be
used by the devices. The client app uses gbparam s key value or gbparam g key to set and/or read
these parameters.
Note: The custom parameters shall not overlap with the device’s parameters that have been
defined.
• MRX: Denotes the device that supports Multiview, and specifically refers to 4KIP200M in this
document. Compared to other RX devices, MRX features the capability to receive multiple video
streams from TXs and mix them according to the predefined layout instructions, and then output
the videos in Multiview form on a single screen. The features available for RXs in this document
www.avaccess.com 3 [email protected]
3. Requirements of the Developers
Familiar with all features and functions of devices listed in this document.
Proficient in the knowledge of TCP/IP network communication programming plus TCP, UDP,
UDP, contains UDP broadcast and UDP unicast that mainly used for device discovery.
Telnet, used to log in to and interact with the device by sending shell commands after login. The
interaction content includes information acquisition, setting of storage and sending of control
command.
HTTP, mainly used to obtain preview video of the TX, upload Idle Image on RX side, and upgrade
firmware.
Several units of TX
Several units of RX
disabled intentionally.
Since TX and RX do not use multicast for communication, it is not required for the switch to
support multicast.
Important: You need to plan IP addresses for your entire system based on the actual situation, which
You can assign address and netmask for each TX and RX in the way mentioned hereinafter.
www.avaccess.com 4 [email protected]
Dynamic IP address (DHCP)
In this situation, there must be a device in the system that runs a DHCP server, which assigns
No DHCP server
Generally, after all above devices are powered on, each RX will pair with a certain TX by default
6. Discovering Devices
After the client app is started, perform the following to search for the TX and RX devices in the network.
(1) Send the following UDP broadcast message to the broadcast address 255.255.255.255 or the
subnet broadcast address (calculated based on the IP address and netmask), and the port number
It is recommended to set an appropriate timer according to the quantity of the devices, and send
(2) Listen on the network card for UDP messages sent to the local port number 3336. The message
format is below:
Name Type Byte Size Description
Reserved UInt32 4
Reserved UInt32 4
Reserved Char 32
Device_name Char 64 Device name, including the ending '\0'
Reserved UInt32 4
Protocol version UInt32 4
Reserved Char 32
Reserved Char 32
Reserved Uint32 4
www.avaccess.com 5 [email protected]
Reserved UInt32 4
Reserved Char 16
Reserved Char 96
The Device_name (hereinafter also referred to as “hostname”) can be obtained through message
parsing, and the sending device’s IP address can be obtained according to the UDP message.
to log in to the device console through Telnet protocol and establish Telnet session.
In this chapter, the Telnet client program running in Windows is used to simulate the client app for
explaining various functions based on Telnet through which the client app interacts with devices.
Description: ip_address denotes the IP address of a device found by this device. You can
Command Example:
PS C:\> telnet 169.254.138.14 24
IPE935-341B22822FEF login: root
Welcome.
/#
The client app can set device alias and save it to the device for future reading.
Note: The device provides a space for storing this parameter only, and will not use this
parameter.
Command Structure:
gbparam s alias xxxx
gbparam g alias
www.avaccess.com 6 [email protected]
Description: alias denotes the custom field of the API, xxxx denotes device’s alias. It is
recommended to use “alias” directly; if not, please obtain the list of the device’s all
parameters through gbparam dump before you use other field name in case that it is as
Command Example:
/ # gbparam s alias sonyDVD
/ # gbparam g alias
sonyDVD/ #
Command Structure:
gbparam s ip_mode IPMODE
gbparam s ipaddr IPADDR
gbparam s netmask NETMASK
gbparam g ip_mode
gbparam g ipaddr
gbparam g netmask
Description:
If IPMODE = dhcp while no DHCP server is deployed in the network, the device will
Note:
Each of the above command is not effective until the device restarts.
The value obtained through gbparam g is not necessarily the one that is effective
currently; for example, the device is restored to the factory defaults after the previous
Command Example:
/ # reboot
/ # gbparam g ip_mode
dhcp
/ # gbparam g ipaddr
192.168.10.254
/ # gbparam g netmask
255.255.255.0
/#
The device’s serial port can be used in the following two applications:
b) Application 2: The third-party client software communicates with the device and
Description:
p denotes the parity setting, and the range is N = none; E = even; O = odd
Note:
If commands are to be passing through between TX and RX, their serial port
www.avaccess.com 8 [email protected]
Command Example:
To set baud rate to 9600, data bits to 8, parity bit to none, stop bits to 1:
/ # soip2 -S -b 9600-8n1
(3) The third-party client sends commands to the peripheral connected to the
Description:
-b sss-dps: Same as that in Set serial parameters for passing through serial commands
section.
Note:
“-f /dev/ttyS0” is a fixed item.
Command Example:
peripheral:
/# soip2 -f /dev/ttyS0 -b 115200-8n1 -r -s “12345”
b) Send a sequence of hex strings terminated with a line-feed to a peripheral:
/# soip2 -f /dev/ttyS0 -b 115200-8n1 -n -s “4c 6f 72 65 6d 20 69 70 73 75 6d 20 64 6f 6c 6f 72 20
73 69 74 20 61 6d 65 74 2c 20 63 6f 6e 73 65 63 74 65 74 75 72 20 61 64 69 70 69 73 63 69 6e 67
20 65 6c 69 74 2c 20 73 65 64 20 64 6f 20 65 69 75 73 6d 6f 64 20 74 65 6d 70 6f 72 20 69 6e 63 69
64 69 64 75 6e 74 20 75 74 20 6c 61 62 6f 72 65 20 65 74 20 64 6f 6c” -H
Supported devices: All devices (Note: 4KIP200M doesn’t support the application of
Command Example:
/ # reboot
www.avaccess.com 9 [email protected]
/#
Command Example:
/ # cat /etc/version
IPE935
V1.0.23t1
Wed, 17 May 2023 07:39:21 +0000
/#
Command Example:
/ # reset_to_default.sh;reboot
sh: can't kill pid 3045: No such process
/#
By default, HDCP is enabled on all TX devices, and can be disabled if required for specific
scenarios.
Description: VALUE – y | n
Command Example:
/ # gbconfig --hdcp-enable y
/ # gbconfig --show --hdcp-enable
y
/#
www.avaccess.com 10 [email protected]
7.3 Functions for RX Only
Command Example:
/ # gbconfig --sinkpower-mode rs232
The device will memorize these two CEC commands, and send them to the connected display
correspondingly after receiving a certain command for controlling display on/off from the client
software.
Command Structure:
gbparam s cec_poweron_cmd "XXXX"
CEC commands for controlling display on and off may vary on different display devices, for more
Command Example:
/ # gbparam s cec_poweron_cmd "40 04"
/ # gbparam s cec_standby_cmd "ff 36"
/#
The device will memorize these two RS232 commands, and send them to the connected
display correspondingly after receiving a certain command for controlling display on/off
from the client app. The RS232 command to be sent shall be indicated whether it is a hex
string.
Command Structure:
www.avaccess.com 11 [email protected]
gbconfig --rs232-hex-cmd-enable [y|n]
gbparam s rs232_poweron_cmd "XXXX"
gbparam s rs232_standby_cmd "YYYY"
Description:
RS232 commands for controlling display on and off may vary on different display devices, for
Command Example:
/ # gbconfig --rs232-hex-cmd-enable n
/ # gbparam s rs232_poweron_cmd "XXXX"
/ # gbparam s rs232_standby_cmd "YYYY"
/#
Command Structure:
Description:
Once any of these two commands is sent to the device, the device will automatically convert
it into the corresponding CEC or RS232 command based on the settings in chapter 7.3.1,
Command Example:
/ # sinkpower off
/ # sinkpower on
/#
Command Structure:
cec -s “ADDR OPCODE; ADDR OPCODE; ...”
Description:
This command is used to request the device to send a string of CEC commands to the display.
www.avaccess.com 12 [email protected]
Note:
Available CEC commands for display devices may vary among vendors, for more information,
Command Example:
/ # cec -s “40 04”
/#
By default, each RX device automatically searches for online TX devices, and pairs with one
RX pairs with each TX in turn automatically by long pressing the info/source button on
the RX’s front panel for more than 2 seconds. Source switching occurs once each time
Once API command for pairing is sent to the device, the above two pairing methods will
Command Structure:
gbconfig --source-select=SOURCE
gbconfig --vsource-select=SOURCE
gbconfig --asource-select=SOURCE
gbconfig --ssource-select=SOURCE
e e_reconnect
Description:
Note: After an RS232 source is assigned to a certain RX, the client app can still send
www.avaccess.com 13 [email protected]
RS232 commands to the peripheral at RX’s serial port through the soip2 program.
--source-select=SOURCE: Route the video source, audio source and RS232 source of
one TX as a whole to the RX. The SOURCE is the TX’s MAC address.
If the audio source is not specified, it follows the video source by default.
If the RS232 source is not specified, it follows the video source by default.
If SOURCE = null, the specific source will be unbound from the RX.
Note: You need to send "e e_reconnect" at the end to make the command take effect.
Supported Devices: All RX devices, except MRX (MRX has specific commands).
Command Example:
/ # gbconfig --source-select=341B22822FEF
/ # e e_reconnect
/ # gbconfig --source-select=NULL
/ # e e_reconnect
/#
Command Structure:
To get the whole source (video, audio and RS232) assigned to the RX: / # gbconfig --show --
source-select
To get the audio source assigned to the RX: / # gbconfig --show --asource-select
To get the RS232 source assigned to the RX: / # gbconfig --show --ssource-select
To get the video source assigned to the RX: / # gbconfig --show --vsource-select
Description: N/A
Supported Devices: All RX devices, except MRX (MRX has specific commands)
Command Example:
/ # gbconfig --show --source-select
341B22822FEA
/ # gbconfig --show --asource-select
NULL
/ # gbconfig --show --ssource-select
NULL
/ # gbconfig --show --vsource-select
341B22822FEA
Note: The above returns the MAC address of the TX.
www.avaccess.com 14 [email protected]
7.3.8 Rotating Video
Command Structure:
e e_vw_rotate_N
e e_reconnect
Description:
Command Example:
/ # e e_vw_rotate_270
270
/ # e e_reconnect
/#
For a standard video wall, you only need to set the size of the video wall and the
Command Structure:
e e_vw_enable_M_N_X_Y
e e_reconnect
Description:
Note:
You need to send “e e_reconnect” in the end to make the above command take
effect.
Command Example:
To set up a 2 x 2 video wall of which the display attached to this RX is located in the
www.avaccess.com 15 [email protected]
upper left corner, complete the following:
/ # e e_vw_enable_1_1_0_0
/ # e e_reconnect
To undone the video wall, perform the following:
/ # e e_vw_enable_0_0_0_0
/ # e e_reconnect
/#
Setting up a mosaic style video wall requires devices to support video cropping and
rotation.
Command Structure:
gbparam s xy_param X1:Y1:X2:Y2
Description:
X1:Y1:X2:Y2 denotes that only the video content within the rectangular area formed
by the coordinate (X1,Y1) in upper left and the coordinate (X2,Y2) in bottom right is
presented. Note that this command does not factor in the input video’s horizontal
and vertical sizes but assumes that they are both 10000, and the device will covert
Command Example:
Based on the combination of two commands above, the client app is able to set up a
mosaic style video wall in which TVs in first row rotates by 180 degrees. The VDirector App
Command Example:
The rotate the display by 180 degrees counterclockwise around the upper left corner and
make it present one-fourths of the input video’s content in the bottom right only:
www.avaccess.com 16 [email protected]
/ # gbparam s xy_param 5000:5000:10000:10000
/ # e e_vw_rotate_180
180
/ # e e_reconnect
/#
The rotate the display by 90 degrees counterclockwise around the upper left corner and
make it present the content within the rectangular area [(0,0),(900,1600)] in the upper left
Command Structure:
gbset fvo RESOLUTION
e e_reoutput
Description:
The value of RESOLUTION:
a) auto
b) 3840x2160_60
c) 3840x2160_30
d) 1080P_60
e) 720P_60
Note: Only commonly used resolutions are listed here. By default, it is set as auto.
Supported Devices: HDIP100D doesn’t support (b) and (c), 4KIP200D doesn’t support (b),
Command Example:
/ # gbset fvo 3840x2160_30
/ # e e_reoutput
/#
www.avaccess.com 17 [email protected]
7.3.11 Instructing RX to Force Color Space (RGB or YUV) Output
Command Structure:
gbparam s fource_output_color_space COLORSPACE
e e_reoutput
Description:
COLORSPACE = auto | yuv | rgb. Default setting is auto.
Supported Devices: All RX devices
Command Example:
/ # gbparam s fource_output_color_space yuv
/ # e e_reoutput
/ # gbparam s fource_output_color_space rgb
/ # e e_reoutput
/ # gbparam s fource_output_color_space auto
/ # e e_reoutput
/ # gbparam g fource_output_color_space
auto/ #
7.3.12 Closing the Output of Idle Image (Image reads “No Source”) on Detecting
No Source
Some TVs or certain devices will take custom action based on whether they detect valid
signal input. In this case, users can close the RX’s output when RX detects no signal input.
Command Structure:
gbparam s no_source_close_screen VALUE
sleep 1;reboot
Description:
VALUE = y | n.
Command Example:
/ # gbparam s no_source_close_screen y
/ # sleep 1;reboot
After re-login in to the device:
/ # gbparam g no_source_close_screen
y/ #
www.avaccess.com 18 [email protected]
7.3.13 Obtaining Display EDID
Command Structure:
cat /var/tmpfs/monitor_info
Description:
To obtain the EDID data of the display attached to the RX’s HDMI OUT.
Command Example:
/ # cat /var/tmpfs/monitor_info
00 ff ff ff | ff ff ff 00 | 61 a9 03 b0 | 01 00 00 00 |
12 1f 01 03 | 80 3c 21 78 | 2a 1f 65 a4 | 55 50 9f 26 |
0c 50 54 bd | cf 00 71 4f | 81 80 81 8c | 81 00 95 00 |
95 0f a9 c0 | b3 00 02 3a | 80 18 71 38 | 2d 40 58 2c |
45 00 56 50 | 21 00 00 1e | 00 00 00 fd | 00 32 4b 0f |
64 13 00 0a | 20 20 20 20 | 20 20 00 00 | 00 ff 00 33 |
30 38 37 38 | 30 30 30 36 | 36 38 38 33 | 00 00 00 fc |
00 52 65 64 | 6d 69 20 32 | 37 20 4e 46 | 0a 20 01 c3 |
02 03 1e f1 | 49 01 03 12 | 13 04 14 05 | 1f 10 67 03 |
0c 00 10 00 | 00 26 23 09 | 07 07 83 01 | 00 00 01 1d |
00 72 51 d0 | 1e 20 6e 28 | 55 00 56 50 | 21 00 00 1e |
66 21 56 aa | 51 00 1e 30 | 46 8f 33 00 | 56 50 21 00 |
00 1e e0 45 | 80 c8 70 38 | 2d 40 30 28 | 55 00 56 50 |
21 00 00 1e | 0e 1f 00 80 | 51 00 1e 30 | 30 20 37 00 |
56 50 21 00 | 00 1e 00 00 | 00 00 00 00 | 00 00 00 00 |
00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 26 |
/#
Command Structure:
osd_show [-o INDEX -s “CONTENT” [-f FONTSIZE] -p POSITION | -c INDEX]
Description:
-o INDEX: To index the newly added text with a number “INDEX” for later cleanup.
-f FONTSIZE: To specify the font size, default setting is 16, range 1-500, optional.
-p POSITION: To specify the display position of the text. The position contains values of
Note: The actual maximum value is affected by the length and font size of the text and
www.avaccess.com 19 [email protected]
shall be determined according to the application scenarios on site.
-c INDEX: To undo the display of the text indexed with the number “INDEX”.
Command Example:
/ # osd_show -o 1 -s "1234" -p 9500,9800
/ # osd_show -o 1 -s "1234" -p 1000,500
/ # osd_show -o 2 -s "1234" -p 2000,500
/ # osd_show -o 3 -s "1234" -p 3000,500
/ # osd_show -o 4 -s "1234" -p 5000,500
/ # osd_show -c 4
/ # osd_show -c 3
/ # osd_show -c 2
/ # osd_show -c 1
/ # osd_show -o 1 -s "1234" -f 300 -p 2000,500
/#
4KIP200M Supports decoding on up to four video streams and one audio stream.
The device supports the following four inbuilt screen layouts, in which each video image’s location,
1 2
2
1 1
3
3 4
1-1 2-1 3-1 4-1
Diag 1 -- Four screen layouts
2. 2 – 1 (Picture-in-Picture layout)
3. 3 – 1 (Portrait triple view layout)
4. 4 – 1 (Quad view layout)
The “1-1”, “3-1” and “4-1” layouts can only work in tile mode, while layout “2-1” can only work
in overlay mode, for setting of the display mode see the following commands.
The MRX with factory default settings will enter Auto layout state after startup. It automatically
www.avaccess.com 20 [email protected]
selects one layout from the above based on the quantity of online encoders it detects, and
outputs corresponding video sources and a certain audio stream in the selected layout. The
audio of the HDMI source 1 located in the layout is automatically selected and being played.
At factory default, if the MRX detects the front panel Layout button is being pressed, or
receives commands of switching sources and screen layouts from a third-party Client App, it
will turn from Auto layout to Manual layout status. The MRX cannot fall back to Auto layout
status until it is reset to factory defaults.
The MRX cycles among the four layouts on detecting the front panel Layout button is being
pressed. Meanwhile, it will notify the outside of the layout changes by broadcast. It notifies
not only when the layout changes but also when the corresponding video source is online or
offline even if the layout remains unchanged. The third-party client app can send specific
commands to MRX to obtain the latest information, change screen layout and select desired
video sources.
Based on the key points above, the interaction between the third-party client app and MRX
comprises of three steps:
a) The app obtains the MRX’s four inbuilt layouts and current layout’s information after it
starts.
b) Listens the MRX’s notifications on current layout change.
c) Sends commands to change video sources or layout type of the MRX.
Command Structure:
1. Set “1-1” layout and specify a video source for the MRX:
multiview set TX1:1:0_0_1920_1080:stretch:0
multiview set mode tile
multiview apply
2. Set “2-1” layout and specify certain video source(s) for the MRX:
multiview set TX1:1:0_0_1920_1080:stretch:0 TX2:1:1440_0_480_270:stretch:0
multiview set mode overlay
multiview apply
3. Set “3-1” layout and specify certain video source(s) for the MRX:
Multiview set TX1:1:1280_0_640_1080:stretch:270 TX2:1:640_0_640_1080:stretch:270
TX3:1:0_0_640_1080:stretch:270
multiview set mode tile
multiview apply
4. Set “4-1” layout and specify certain video source(s) for the MRX:
www.avaccess.com 21 [email protected]
multiview set TX1:1:0_0_960_540:stretch:0 TX2:1:960_0_960_540:stretch:0
TX3:1:0_540_960_540:stretch:0 TX4:1:960_540_960_540:stretch:0
multiview set mode tile
multiview apply
Description:
TX1, TX2, TX3, TX4: Denotes the hostname of the video source, null denotes deselects the
corresponding source for the MRX.
Supported Devices: 4KIP200M
Command Example:
1. Set “1-1” layout and select the source IPE935-341B22822FEF for the MRX:
/ # multiview set IPE935-341B22822FEF:1:0_0_1920_1080:stretch:0
/ # multiview set mode tile
/ # multiview apply
Command Structure:
multiview get layout
Description:
www.avaccess.com 22 [email protected]
The MRX responds with a JSON message after it receives the above command, all the client
For more information see the following command example (contents related to the point 1/2/3
is highlighted in red):
Command Example:
/ # multiview get layout
multivie layout {
"currentLayout" : "4-1",
"data" : {
"aes" : false,
"hsize" : 1920,
"layouts" : [
{
"audio" : {
"mode" : "window",
"source" : "1"
},
"layoutseq" : 1,
"mode" : "tile",
"name" : "1-1",
"rotate" : 0,
"type" : "fixed",
"windows" : [
{
"hsize" : 1920,
"hstart" : 0,
"layerseq" : 1,
"mode" : "stretch",
"name" : "1",
"rotate" : 0,
"tx" : "IPE935-361B22094013",
"vsize" : 1080,
"vstart" : 0
}
]
},
{
"audio" : {
"mode" : "window",
"source" : "1"
www.avaccess.com 23 [email protected]
},
"layoutseq" : 2,
"mode" : "overlay",
"name" : "2-1",
"rotate" : 0,
"type" : "fixed",
"windows" : [
{
"hsize" : 1920,
"hstart" : 0,
"layerseq" : 1,
"mode" : "stretch",
"name" : "1",
"rotate" : 0,
"tx" : "IPE935-341B2281632D",
"vsize" : 1080,
"vstart" : 0
},
{
"hsize" : 480,
"hstart" : 1440,
"layerseq" : 2,
"mode" : "stretch",
"name" : "2",
"rotate" : 0,
"tx" : "IPE935-341B2281632D",
"vsize" : 270,
"vstart" : 0
}
]
},
{
"audio" : {
"mode" : "window",
"source" : "1"
},
"layoutseq" : 3,
"mode" : "tile",
"name" : "3-1",
"rotate" : 90,
"type" : "fixed",
"windows" : [
{
"hsize" : 640,
"hstart" : 1280,
"layerseq" : 1,
"mode" : "stretch",
www.avaccess.com 24 [email protected]
"name" : "1",
"rotate" : 270,
"tx" : "IPE35-361B22094013",
"vsize" : 1080,
"vstart" : 0
},
{
"hsize" : 640,
"hstart" : 640,
"layerseq" : 2,
"mode" : "stretch",
"name" : "2",
"rotate" : 270,
"tx" : "IPE935-341B22822FDC",
"vsize" : 1080,
"vstart" : 0
},
{
"hsize" : 640,
"hstart" : 0,
"layerseq" : 3,
"mode" : "stretch",
"name" : "3",
"rotate" : 270,
"tx" : "NULL",
"vsize" : 1080,
"vstart" : 0
}
]
},
{
"audio" : {
"mode" : "window",
"source" : "1"
},
"layoutseq" : 4,
"mode" : "tile",
"name" : "4-1",
"rotate" : 0,
"type" : "fixed",
"windows" : [
{
"hsize" : 960,
"hstart" : 0,
"layerseq" : 1,
"mode" : "stretch",
"name" : "1",
www.avaccess.com 25 [email protected]
"rotate" : 0,
"tx" : "IPE935-341B22822FDC",
"vsize" : 540,
"vstart" : 0
},
{
"hsize" : 960,
"hstart" : 960,
"layerseq" : 2,
"mode" : "stretch",
"name" : "2",
"rotate" : 0,
"tx" : "IPE935-341B22822FDC",
"vsize" : 540,
"vstart" : 0
},
{
"hsize" : 960,
"hstart" : 0,
"layerseq" : 3,
"mode" : "stretch",
"name" : "3",
"rotate" : 0,
"tx" : "NULL",
"vsize" : 540,
"vstart" : 540
},
{
"hsize" : 960,
"hstart" : 960,
"layerseq" : 4,
"mode" : "stretch",
"name" : "4",
"rotate" : 0,
"tx" : "IPE935-341B22822FDC",
"vsize" : 540,
"vstart" : 540
}
]
}
],
"trueName" : "IPM4000-5ECC51593001",
"userdefine" : [
{
"maxwinsnum" : 8,
"mode" : "tile"
},
www.avaccess.com 26 [email protected]
{
"maxwinsnum" : 6,
"mode" : "overlay"
}
],
"vsize" : 1080
}
}
Command Structure:
config IPM4000:MRX-hostname_get layout
Description:
The command is sent from MRX to the third-party client software through subnet broadcast.
Destination address: The subnet broadcast address of the subnet on which MRX resides.
Command Example:
Assumes that the third-party client app and the MRX are in the same subnet, the client app IP
address is 192.168.1.10, mark is 255.255.0.0, then the subnet broadcast address can be
calculated to 192.168.255.255, therefore the client app needs to receive the following UDP
Command Structure:
To send the following UPD message to the broadcast address 255.255.255.255 or port 5010 of the
www.avaccess.com 27 [email protected]
subnet broadcast address:
msg_b_reconnect tx_name:session_number:rx_number rx1 rx2 …rxN
Description:
tx_name: The name of the TX connected to the source; the format should be the model no. that
Command Example:
HTTP protocol.
Command Structure:
http://tx_ip_address/stream
Description:
The uploaded image will replace the factory default image and become the new factory default.
Supported Devices:
www.avaccess.com 28 [email protected]
HDIP100D*: Supports 720P image only.
*Note: Different batches of HDIP100D may vary in terms of the Idle image’s supported resolution,
advertisements.
Command Structure:
HTTP Method POST
URI http://rx_ip_address/upload_png
Description:
Supported Devices:
*Note: Different batches of HDIP100D may vary in terms of the overlaying image’s supported
Command Structure:
gbconfig --png-overlay-pos-h=POSH
gbconfig --png-overlay-pos-v=POSV
gbconfig --png-overlay-enable=ENABLE
Description:
POSH: The abscissa value in which the image locates horizontally, range: 0~1919
POSV: The ordinate value in which the image locates vertically, range: 0~1079
After the above three commands are sent, you need to continue to send the following
www.avaccess.com 29 [email protected]
e e_png_overlay
Supported Devices: All RX devices
Supported Devices:
Note: Some batches of HDIP100E and HDIP100D may not support firmware upgrade through
www.avaccess.com 30 [email protected]
13. Document Revision History
Version Date Description
V1.0.0 230522 Initial
V1.0.1 230822 Add support for 4KIP200M
V1.0.2 230911 Add e e_png_overlay command
V1.0.3 230912 Add “Operating the Serial Port” section
www.avaccess.com 31 [email protected]