adafruit / Adafruit_CircuitPython_ESP_ATcontrol

Use the ESP AT command sent to communicate with the Interwebs
MIT License
20 stars 17 forks source link

increase CWLAP timeout, modify simpletest to fix AP Scan #27

Closed jerryneedell closed 5 years ago

jerryneedell commented 5 years ago

the ESP32 was timinng out when receiving the AP scan -- increasing timeout to 5 seconds seems to fix it. also the ESP32 seems to magically reconnect to the last AP even after a hard reset. I changed the simpletest to force an AP scan and reconnect. Tested with 8266 on particle xenon and ESP32 on particle argon

also left initial baudrates for simpletest and webclient at default 115200 and use rts_pin.