meshtastic / Meshtastic-Android

Android application for Meshtastic
https://meshtastic.org
GNU General Public License v3.0
748 stars 214 forks source link

[Bug]: Switching from a bluetooth device directly to a wifi one does not work correctly. #1394

Closed ragnarblackmane closed 2 weeks ago

ragnarblackmane commented 2 weeks ago

What happened?

I have multiple devices, all connected through BLE, only my heltec is connected through wifi. When I switch from a BLE one to the WiFi one, it looks like it's connected, but can't do any management or send messages, I have to do the following:

  1. connected to BLE device;
  2. select the None device;
  3. then select the WiFi one.

Very rarely this does not work too, then I'll just select None and then again the WiFi device and it works.

App Version

2.5.7

Phone

Samsung A35 5G

Device

Heltec v3

Firmware

2.5.11.8e2a3e5 beta

Relevant log output

No response

Code of Conduct

andrekir commented 2 weeks ago

I can't reproduce this. Switching to TCP/IP interfaces works fine on the first try, and reconnects are scheduled correctly if one fails.

TCP/IP disconnects can take up to 90 seconds to detect, check the serial logs on the Heltec for details.

Most common cause for this is trying to connect multiple clients to a single device at the same time. Only one connection is supported at a time.