SIM 300 TCP-IP problem : My server is not responding in transpernt mode

Status
Not open for further replies.

niketrc

Newbie level 5
Joined
Jun 19, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
44
Hello ,

I am using two Sim 300 MODEMs for server client application.I am able to communicate in non-transparent mode, but i can not communicate in transparent mode.
My Client Code

Code:
>>AT+CIPMODE=1
<<OK

>>AT+CGATT=1
<<OK

>>AT+CSTT="www"
<<OK

>>AT+CGDCONT=1,"IP","www"
<<OK

>>AT+CDNSORIP=0
<<OK

>>AT+CIICR
<<OK

>>AT+CIFSR
<<XXX.XXX.XXX.XXX    // OWN IP ADDRESS 


>>AT+CIPSTART="TCP","<IP OF SERVER >","<PORT>"
<<CONNECT

// FROM HERE MODEM IS STAYING IN DATA MODE




My SERVER CODE :

Code:
>>AT+CIPMODE=1
<<OK

>>AT+CGATT=1
<<OK

>>AT+CIPCSGP=1,"www"
<<AT+CLPORT="TCP","XXXX"

>>AT+CIPSERVER
<<OK
<<SERVER OK

>>AT+CIFSR
<<xxx.xxx.xxx.xxx        // MY SERVER IP

<<REMOTE IP: XXX.XXX.XXX.XXX

>>AT+CIPCCON=2
<<OK

>>AT+CIPSEND
<<ERROR

>>AT+CIPSERVER?
<<+CIPSERVER: 1

>>AT+CIPSTATUS
<<+CIPSTATUS : IP STATUS


above code in none transparent mode(with AT+CIPMODE=0) works fine.

please help me guys :-D
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…