I'm on the pyPortal and updated CircuitPython to the latest version.
In my while True loop, I am calling the mqtt nonblacking "loop()". It is throwing sporadic "Timed out waiting for SPI char" errors.
Any ideas on what is causing this?
Thanks.
MQTT loop "Time out waiting for SPI char" error
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- bonemender
- Posts: 8
- Joined: Tue Nov 30, 2021 10:37 pm
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: MQTT loop "Time out waiting for SPI char" error
Did you update your libraries to the latest release as well?
I see that the Adafruit_CircuitPython_ESP32SPI library had added some code earlier this year to do retries when timeouts occur. It looks like your code is doing the right thing and continuously reconnecting when a timeout occurs.
https://github.com/adafruit/Adafruit_Ci ... I/pull/132
I see that the Adafruit_CircuitPython_ESP32SPI library had added some code earlier this year to do retries when timeouts occur. It looks like your code is doing the right thing and continuously reconnecting when a timeout occurs.
https://github.com/adafruit/Adafruit_Ci ... I/pull/132
Please be positive and constructive with your questions and comments.