Hi all ,
I am new to client server communication.Below is code I have tried to establish connection between my gprs modem and PC to send data.It is showing as TCP connection error.As i gained from discussions,I have to give static Ip for my gprs modem (HL6528).how?? and do “i have to give DNS server address” ?? and one more is “what changes to firewall to be made and how to do?” confused …plz help …how to proceed further…
AT+CGDCONT=1,“IP”,“internet”,“0.0.0.0”,0,0 // idea
OK
atd991#
CONNECT
~ÿ}#À!}!}!} }.}"}&} }} } }#}$À#óM~~ÿ}#À!}!}!} }.}"}&} }} } }#}$À#óMÿ}#À!}!}!} }.}"}&} }*} } }#}$À#óMÿ}#À!}!}!} }.}"}&} }} } }#}$À#óM~~ÿ}#À!}!}!} }.}"}&} }} } }#}$À#óM~
NO CARRIER
at&k3
OK
AT+KCNXCFG=0,“GPRS”,“internet”,"","",”0.0.0.0”,”0.0.0.0”,”0.0.0.0”
OK
AT+KCNXTIMER=0,60,2,70
OK
AT+KCNXPROFILE=0
OK
AT+CGATT=1
OK
at+ktcpcfg=0,0,“192.168.1.14”,139 //IP address of my PC and 139 is listening
+KTCPCFG: 1
OK
AT+KTCPCNX=1 //client
+KTCP_NOTIF:1,5 //tcp connection error