Closed dbrgn closed 4 years ago
Ohh .. It appears you have discovered an AT case i have yet to come by :)
I will try to do a fix for multiline responses. I am pretty sure it conforms to the spec though, so it should be supported.
Regarding the length in line_len()
.. Yeah, i have a number of "fixed" sizes spread around, that i would like to do in a generic way, but i have not yet gotten around to it. Any suggestions on a best way to do it is welcomed.
Fixed by https://github.com/BlackbirdHQ/atat/pull/25 and 357636d8e028cf809f04d04190386c70c2f35d8a.
For the AT command, ATAT is not processing the response...
The echoed bytes look really strange. Maybe that's the reason?
Also, for AT+GMR, which returns quite a long string, I got this:
First of all, I had to manually increase the max length parameter for
get_line
in the ingress manager, otherwise it panicked (64 wasn't enough).Second, is it valid to return multiple lines all delimited by CRLF? The spec says:
I'm not sure if I understand this correctly, but would the last sentence imply that S3/S4 are not CRLF, or may CRLF be repeated until the result code?
(It's possible that the ESP8266 does not conform to the spec, which would be very unfortunate...)