AsyncTelegram2
AsyncTelegram2 copied to clipboard
make OTA works for ESP32
it looks that telegramClient->find get blocking on ESP32, in my OTA update, it always cannot read getFile command properly, and result an error.
Type of change:
make block sendCommand read response like other parts.
- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)
Testing:
- [ ] merged with the current development branch (before testing)
- [ ] CI build finished without issues
- [x] Tested on real hardware (List board here): ESP32-C3, ESP8266
- [ ] Changes are backward compatible
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation