AT protocol newlines - Am I seeing things?
Posted: Wed Sep 10, 2014 8:46 pm
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
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