-->
Page 1 of 1

The general format of AT commands' responses?

PostPosted: Sat Jun 17, 2017 10:00 am
by letli
hi community, I'm writing a Python library for "using esp8266 as a module".
https://github.com/muchrooms/esp8266py

Handling all results through serial port is a big part of it, and I just simply match identifiers like "OK", "ERROR" now. So, is there a elegant method to process all responses?

Re: The general format of AT commands' responses?

PostPosted: Sat Jun 17, 2017 8:42 pm
by atexit8
Did you know there is a Micropython for ESP8266?
https://github.com/micropython/micropython/tree/master/esp8266

Re: The general format of AT commands' responses?

PostPosted: Sat Jun 17, 2017 10:04 pm
by letli
atexit8 wrote:Did you know there is a Micropython for ESP8266?
https://github.com/micropython/micropython/tree/master/esp8266


Yes. My aim is "to use esp8266 as a module" and Micropython is unable to meet my requirements.

As far as I know, maybe pyesp8266
Code: Select allhttps://github.com/guyz/pyesp8266
is a good choice for me now. However, pyesp8266 fail to hide complicated communication details.