ATParser icon indicating copy to clipboard operation
ATParser copied to clipboard

Parse response

Open izaa opened this issue 7 years ago • 1 comments

Hi,

I'm trying to parse the response of AT Command.

In telnet, i can test the command AT and it will response two empty lines and the response OK and an empty line after that. For example

AT


OK


How i can read that response, since at.recv("OK") returns false.

Thank you for the help!

izaa avatar Aug 19 '18 19:08 izaa

I guess that's because the parser looks for direct "OK" but the device returned new line (\r\n) before "OK".

Felix-ZJU avatar Feb 14 '22 05:02 Felix-ZJU