persistent wifi/mqtt connections or not

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: persistent wifi/mqtt connections or not

Post by pythoncoder » Mon May 30, 2022 4:53 pm

That benchmark doesn't attempt to improve the performance of umqtt.simple - merely to measure it. The official libraries have a number of limitations - in particular they are intolerant of problems in the WiFi link. I suggest you look at this project which aims to address these limitations. You might also want to look at this FAQ which explains the issues in more detail.
Peter Hinch
Index to my micropython libraries.

Post Reply