0% found this document useful (0 votes)
85 views1 page

TCP-IP Over GPRS With Modbus

The document discusses maintaining reliable TCP connections over GPRS using a GSM/GPRS module to connect devices using TCP/IP and Modbus protocols. The GSM network automatically closes idle TCP connections, so the author wants to detect and maintain connections reliably, including detecting half-open connections. The GSM module acts as a server, opening a socket on port 502 to wait for client connections to request and receive data periodically at intervals of 3 minutes or longer.

Uploaded by

Iyesusgetanew
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views1 page

TCP-IP Over GPRS With Modbus

The document discusses maintaining reliable TCP connections over GPRS using a GSM/GPRS module to connect devices using TCP/IP and Modbus protocols. The GSM network automatically closes idle TCP connections, so the author wants to detect and maintain connections reliably, including detecting half-open connections. The GSM module acts as a server, opening a socket on port 502 to wait for client connections to request and receive data periodically at intervals of 3 minutes or longer.

Uploaded by

Iyesusgetanew
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

TCP-IP over GPRS with Modbus

Asked 4 years, 7 months ago

Active 2 years, 10 months ago

Viewed 951 times

Report this ad

I am working to a project involving a GSM/GPRS module which role it is to connect clients with
some devices over the internet using TCP-IP and Modbus protocol. Now I am studying the TCP
connecting scheme.

As far as I understood , the GSM network automatically close a TCP connection if there is not
any traffic on it for some time.

I want to detect and maintain TCP connection as reliable as possible. Also to detect half-open
connections.

The connection procedure is as follows: my GSM module acts as a server, so it opens a socket on
port 502 and wait for clients to read data. The client can read data periodically at 3 minutes or
longer.

When a client connects with my module , it requests for some data, the module sends the
requested data and wait for other requests, and keeps the connection open

You might also like