AT commands atomic?
Posted: Tue Jun 02, 2015 4:04 am
Are individual AT commands atomic? In other words, is something like this possible:
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?
Code: Select all
TX: 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?