Sign in to follow this  
Followers 0
jedi_erdi

Telit GT863-PY GPRS Command Mode Receive Problem

1 post in this topic

Hi,

I am connecting to a TCP server using GPRS. I send data to and receive data from that server. The connection is in command mode, not online. I use AT commands #ssend to send and #srecv to receive data. To get that incoming data i use MDM.receive(timeout) function and if the received message contains 'SRING' that means data came from server. The truoble is that; when i send data to server first time i receive the reply successfully but for the second time i can not get the reply to the data i sent. Normally server replies in max. 10 seconds but although i tried large numbers like 120 s for timeout i get the reply so far time from the moment that i am supposed to. In fact server sends reply to the data i sent firstly in a normal time period, less than 10 s. There is a trouble with the second time of receieving reply. What may the reason for that be?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0