arduino / ArduinoCore-renesas

MIT License
109 stars 74 forks source link

WiFiS3: Skip unaligned responses from WiFi chip #353

Closed pennam closed 1 month ago

pennam commented 2 months ago

When network goes down (WiFi is up but no internet connection) AT message parsing gets corrupted due to late reply from WiFi chip. This PR fixes the issue discarding unaligned responses from WiFi chip .

pennam commented 1 month ago

superseded by #349

pennam commented 1 month ago

Re-opening because #349 needs a fix in the WiFi firmware

pennam commented 1 month ago

Testing core sketches using AT commands: OTA :+1: StartCounter :+1: Prefs2Struct :+1: SATSECertificate :+1: SATSEPrivateKey :+1: SATSERandomNumber :+1: SATSESerialNumber :+1: SATSESignAndVerify :+1: WiFiWebServer :+1: WiFiWebClientSSL :+1: WiFiWebClientRepeating :+1: WiFiWebClient :+1: WiFiUdpNtpClient :+1: WiFiPagerServer :+1: WiFiChatServer Reads only first char, also released core WiFiAdvancedChatServer No echo, also released core SimpleWebServerWiFi :+1: ScanNetworksAdvanced :+1: ScanNetworks :+1: ConnectWithWPA :+1: AP_SimpleWebServer :+1: