This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AT command problem in TCP @GSM Module

hi,everyone I try to establish a TCP connection in GSM module with ATcommand. and I sent AT-command in below,Please help me
(in line that have // means i send to GSM)
(if no// means that's response from GSM module)
****************************************************
NORMAL POWER DOWN
 RDY

+CFUN: 1

+CPIN: READY

Call Ready
at+cipflp=0 //1

OK
at+cipstart="tcp","(IP address of server)","(Port)" //2

OK

CONNECT FAIL

STATE: IP IND

+PDP: DEACT
at+cipshut // 3

STATE: PDP DEACT

SHUT OK
at+cipstart="tcp","(IP addressOf server)","(Port)" //4

OK

CONNECT FAIL

STATE: IP IND

+PDP: DEACT
************************************************

In above,at //3 I sent cipshut because "+PDP: DEACT"(i did follow datasheet). But can't Conect OK.

Has GSM module more Setting?

Please help me.
Thank you

Parents
  • Very true: the modem (any modem; not just GSM) neither knows nor cares where its AT commands come from - it makes no difference to the modem whether it's connected to some PC software, a terminal with a human operator, some microcontroller or anything else...!

    Similarly, the microcontroller's UART neither knows nor cares what may be connected; as far as the UART is concerned, it is simply a matter of sending bytes and receiving bytes - it is of no relevance whatsoever to the UART where those bytes go to, or where they came from, or what (if any) meaning they may have...!

Reply
  • Very true: the modem (any modem; not just GSM) neither knows nor cares where its AT commands come from - it makes no difference to the modem whether it's connected to some PC software, a terminal with a human operator, some microcontroller or anything else...!

    Similarly, the microcontroller's UART neither knows nor cares what may be connected; as far as the UART is concerned, it is simply a matter of sending bytes and receiving bytes - it is of no relevance whatsoever to the UART where those bytes go to, or where they came from, or what (if any) meaning they may have...!

Children
No data