You are reading a single comment by @jakedempsey and its replies. Click here to read the full conversation.
  • So if the AT+FOO would return 3 lines and you really just cared about FOOTwo you would just maybe issue a wait or a SetTimeout for the AT+BAR command to ensure all of the AT+FOO response lines have been either handled or flushed?

    It is just weird that the callback handler for AT+BAR may get a response from AT+FOO. I would have thought the returned lines from the AT+FOO would be somehow indexed to that cmd and only that callback could/would get called for its returned lines. I guess though that can't happen because you don't know what response from the modem is tied to what command... now that I type this out I get why it works the way it does.

    Now that I have a deeper understanding of this.. I may just go ahead and tackle a rewrite on the SIM900 module.

About

Avatar for jakedempsey @jakedempsey started