MaJerle / lwesp

Lightweight and versatile AT parser library for ESP8266 and ESP32 devices.
https://majerle.eu/projects/lwesp-lightweight-esp-at-parser-library-for-embedded-systems
MIT License
447 stars 138 forks source link

CWMODE autoconnect is always send but ESP_AT 1.7.5 does not support #101

Closed jondurrant closed 3 years ago

jondurrant commented 3 years ago

Using ESP-01S with Oct-21 release of ESP_AT 1.7.5 (would have liked 2.2 but only have 1M). 1.7.5 gives an error if autoconnect option is on CWMODE e.g. AT+CWMODE=1,1 Option required to remove the autoconnect. Unsure if that will cause any resilience issues within lwesp.

MaJerle commented 3 years ago

Min AT version, to support all features, is as per info below. I can understand this problem, then. You can customize lwesp and remove this parameter.

https://github.com/MaJerle/lwesp/blob/2442493803c5ea4eb4c468e4d2e48fbf8e4975ec/lwesp/src/include/lwesp/lwesp_opt.h#L756-L764

jondurrant commented 3 years ago

Thanks. So to be clear. The library is being targeted at 2.2.0?

MaJerle commented 3 years ago

Library targets to follow official releases of ESP-AT w/ latest releases. I'm not always "up-to-date" but that's the plan, at least.

jondurrant commented 3 years ago

Makes perfect sense. I'll have to get brave and replace the flash chip on my ESP-01S;-)