console output mixed with TCP response in AT firmware

waldo22
Posts: 1
Joined: Fri Apr 24, 2020 6:48 pm

console output mixed with TCP response in AT firmware

Postby waldo22 » Fri Apr 24, 2020 7:35 pm

I am having a problem with messages being injected into TCP responses received in the ESP32 AT firmware v1.2

Usually this is the word "delete" along with some whitespace, but not always.

Here is a truncated example:

Code: Select all

AT+CIPSEND=26

OK

Recv 26 bytes
id:0,Len:26,dp:0x3ffcba44

SEND OK

+IPD,1359:{"new":[{"id":"TEST_ORDER_2","data":"\u001b%\u0002\u001b!0\u001bC\u0004
\u001b!\u0001\u001bC\u00011/20 at 5:05pm
Ordedelete\r\r\nr No:
\u001b!009
\u001b!\u0001\u001bC\u0002TE
...........(etc)
Notice the word "delete\r\r\n" in the middle of the phrase "Order No:", 9 characters NOT included in the 1359 IPD character count.

We are pin-limited with this project, and only have access to a single UART, so we have the AT interface and console interface both on UART 0.

My theory is that the "delete" and other possible messages are being dumped on the console output and mixed in with our data stream.

Does that seem correct? If so:
1) how do I redirect console output to some other unused UART? These instructions don't seem to work...
2) if I can't redirect the console/log output, can I somehow turn it off?
3) is there some other command we should be using to fetch the TCP response?

Is there some other explanation for this?

Any help is much appreciated!

-Wes

Who is online

Users browsing this forum: No registered users and 143 guests