Double socket transpond of cellular modem USR-G781
Your control devices(LOCATIONB)->(LAN)G781->(4G)->PC(LOCATIONB)
In this project , we need establish two socket to realize your requirement.
Note: there is a special function in G781 which name is DOUBLE SOCKET TRANSPOND
Your device(TCP Server)->（LAN port）G781(TCP client) (location A )
G781(TCP client)->PC(TCP server ) (location B )
You device-> G781->PC
1. Please log on this link: https://www.pusr.com/support/downloads/usr-g781-setup-software-v1-0-0-0.html
And download the Utility：
2.Make sure your location B ‘s PC’S IP address is public network ip address .
3.Your device controller can built TCP connection with G781
4.The PC in location B has software that can built TCP connection with G781.
Note: RS 232 converter USB
Open this software after download in your PC https://www.pusr.com/support/downloads/usr-g781-setup-software-v1-0-0-0.html
G781 factory default serial port parameter: baud rate 115200, check/data/stop: NONE/8/1. Open the serial port as shown in the figure below
Click to enter the configuration state. If you print +++ a a OK as shown in the figure below, then you enter the configuration state correctly. If the print information as shown in the figure below is not displayed, possible reasons:
1.The serial port number selected is not consistent with the serial port number of the computer connected to the device
2. No serial driver
3. The baud rate is not consistent with the actual baud rate of the device (if you have set the baud rate before and forget what the modified baud rate is, you can restore the factory setting and use the factory default parameters)
4. Hardware problems. Try replacing a serial cable
Working mode: transparent transmissions mode, server A address and destination port are set to A remote server, such as 188.8.131.52, 7118.
The address of server B is the device IP and port. Such as 192.168.1.100 and 2317
Serial port sending instructions:
Turn on the double-socket transmissions function (AT instruction should end with carriage return newline)
After enabled the double socket function please save parameter and restart
NOTICE :AT command is followed by a carriage return and newline
Set and save all parameters, and restart, wait for the serial port to print the start information usr-g781, indicating that the start is complete, then open the computer port monitoring,G781's link A and link B indicator lights will light up, indicating that the two socket successfully established and connected
After the setup is complete, you can see the device connection on the server as follows. You can test the two-way data communication to indicate that the test is OK