Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SIM 300 GPRS TCP-IP problem in Transperent Mode

Status
Not open for further replies.

niketrc

Newbie level 5
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
 

hello guys can anybody solve my problem ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top