Problem in sending Data over a TCp Server using SIM300 and Micro-Controller???

Status
Not open for further replies.

xpress_embedo

Advanced Member level 4
Joined
Jul 5, 2011
Messages
1,154
Helped
161
Reputation
396
Reaction score
189
Trophy points
1,353
Location
India
embeddedlaboratory.blogspot.in
Activity points
10,591
Hello!!! i am trying to send data over a TCP Server using SIM300 Module

I had successfully established connection with my TCP Server, but the problem is that, the connection closes after sometime.
I am getting PDP DEACT after some time.

AT+CIPSTART="TCP","IP ADDDRESS","5000"

OK

CONNECT OK


while(1)
{

AT+CIPSEND
>Hello!! (CTRL+Z)

SEND OK

Delay_of_5_Seconds

}


I had to implement this, but after some time my modem gets disconnected.

And what is the proper procedure to restart the connection again.

I do like this

AT+CIPSHUT
SHUT OK

Then execute the command again
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…