-->
Page 1 of 1

AT protocol newlines - Am I seeing things?

PostPosted: Wed Sep 10, 2014 8:46 pm
by JDub
I've been experimenting with the AT command set, writing some basic routines to manipulate it, and I keep getting an extra carriage return (0x0D, "\r") in the echo of any command I issue. For instance:

I'll send AT+CWMODE?\r\n
The response is AT+CWMODE?\r\r\n+CWMODE:1\r\n\r\nOK\r\n

Note the double "\r" in the echo, and only there. It does this with a number of commands, but I haven't tested them all for this behavior. I'm certain it's not in my terminal software because the above conversation was recorded with a logic analyzer.

Anyone else seeing this, or is my version of the firmware just special?

- Jw

Re: AT protocol newlines - Am I seeing things?

PostPosted: Thu Sep 11, 2014 1:59 pm
by nogueira
same here

Re: AT protocol newlines - Am I seeing things?

PostPosted: Thu Sep 11, 2014 2:35 pm
by jonsmirl
In a terminal emulator the extra \r does nothing, so they just may not have noticed it.

Re: AT protocol newlines - Am I seeing things?

PostPosted: Thu Sep 11, 2014 5:08 pm
by JDub
jonsmirl wrote:In a terminal emulator the extra \r does nothing, so they just may not have noticed it.


Indeed. It could be a problem if they're writing a library or program and aren't expecting it, however.

Too many flaws in the AT command set, in my opinion, for anything but very simple communication. I hope someone can get a toolchain and custom firmware working. :|