74
8. API for Controlling External Devices Connected to VN-E4 _
8.2. Control
of External Devices via Pass-through
(2) TCP Connection for Pass-through
The client will establish a TCP connection to TCP49152 when serial port 1 is used. In the case of serial port 2, the client will establish a TCP
connection to 49153.
The client may also disconnect TCP80 used by the API.
(3) Sending Pass-through Data
Send the data to output from the serial port of VN-E4 via TCP (49152 for serial port 1 and 49153 for serial port 2).
Ack received by the serial of VN-E4 will be returned to the client by the same TCP port number.
(4) Ending Pass-through
End pass-through by disconnecting TCP (49152 for serial port 1 and 49153 for serial port 2).
It is also possible to end pass-through using the following API.
API Character String
/api/stop?to=serial(Number)
Example when ending
serial port 2
/api/stop?to=serial(2)
9. List of Protocols and Port Numbers Used with VN-E4