Chat freely about anything...

User avatar
By esp03madness
#19201 Are individual AT commands atomic? In other words, is something like this possible:

Code: Select allTX:  AT+CWMODE?\r\n
RX:  +CWMODE: 2\r\n
<---------------------------- RX:  +IPD, 16:yellow_submarine\r\n
RX:  \r\n
RX:  OK\r\n


Above shows an asynchronous command arriving in the middle of another AT command's execution.

Is there some sort of a lock that ensures that each command is fully executed before another is processed? (This is important for parsing responses to AT commands.)

I realize there is no way to conclusively prove this one way or another, since AT is now closed source. But what has been your guys' experience?