antonvh / PUPRemote

Communication protocol over LEGO PoweredUP (PUP) for hubs running Pybricks
GNU General Public License v3.0
6 stars 2 forks source link

When a call takes too long, pupremote is unable to reconnect on pybricks #18

Open antonvh opened 1 year ago

antonvh commented 1 year ago

After pushing the reboot button the esp32, pupremote connects fine.

When the msg funtion is called from pybricks, which inentionally blocks, the connection is lost. That is to be expected because the heartbeat is not returned in time. However, PUPRemote/LPF2 should be able to reconnect after connection loss, but that is not happening for some reason.

Screenshot 2023-11-19 at 16 56 10