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.

At+cdnscfg error sim900

Status
Not open for further replies.

Rikr09

Member level 3
Joined
Feb 14, 2013
Messages
59
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,745
Hello
i am using the sim900 to establish a TCP connection but without using an IP address if not a DNS create on NO-IP web page. I found on the AT COMMAND datasheet two commands: AT+CDNSCFG and the AT+CDNSGIP.

The AT+CDNSGIP answer me with the IP when I use it as follows: at+cdnsgip="DNS.no-ip.biz" but i have to query it about two or three times in order to answer me. Why happens this?

By other way, i dont know how to use or what does the AT+CDNSCFG; I am using as: AT+CDNSCFG="DNS.no-ip.biz","DNS.no-ip.biz" but i always receive an ERROR and i dont know why.

My idea is to use the CIPSTART command with a DNS not with a IP.

I hope you help me please.

Thanks!
 

The AT Commands required for establishing TCP Connection with a Server are

HTML:
AT+CGATT=1 // All followed by CR & LF//
AT+CSTT= "APN of your Operator"  // CR & LF

AT+CIICR    // CR & LF

AT+CIFSR   //CR & LF

AT+CIPSTART = "TCP","Server IP Address","Port Number" //CR * LF

AT+CIPSNED  //CR & LF
> Ur Message 

then press "ctrl+Z" to send

Try this for UDP change UDP instead of TCP in AT+CIPSTART Command

Try first using Terminal Application only like Hyperteminal
 

The AT Commands required for establishing TCP Connection with a Server are

HTML:
AT+CGATT=1 // All followed by CR & LF//
AT+CSTT= "APN of your Operator"  // CR & LF

AT+CIICR    // CR & LF

AT+CIFSR   //CR & LF

AT+CIPSTART = "TCP","Server IP Address","Port Number" //CR * LF

AT+CIPSNED  //CR & LF
> Ur Message 

then press "ctrl+Z" to send

Try this for UDP change UDP instead of TCP in AT+CIPSTART Command

Try first using Terminal Application only like Hyperteminal

Thanks for you reply.

Mainly that i want to know is how to use these DNS commands to estabish a TCP connection. I know how to do it as you wrote me and it is working fine...

Thanks again, i will waiting for your answer.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top