dl9rdz / rdzwx-go

Apache License 2.0
21 stars 3 forks source link

Known issues, to be fixed in the next release #3

Open dl9rdz opened 3 years ago

dl9rdz commented 3 years ago
eben80 commented 3 years ago

Hi, Is this also why the app doesn't connect to the TTGO when launched on Android TV? I have it running on Nvidia Shield TV and the interface looks amazing on my 4K TV but it doesn't connect. It would really be awesome to follow the balloons on my TV at the beginning.

RegsJR commented 2 years ago

Hello, Im trying the Android apk now, good work! Thanks for this. But I have a little problem. When is my TTGO online (at home) I am unable to connect with the installed app. The TTGO not connected icon is not working for click or hold. When offline (and TTGO connected as client) the is normally working, Im able to set the TTGO URI.

(I can of course set the TTGO address manually when connected offline, but the address of TTGO is changing, probably because of WiFi where is the TTGO connected at the certain moment)

dl9rdz commented 2 years ago

The Android apk uses mDNS discovery. This should work always if TTGO and phone are on the same network:

  1. TTGO in AP mode, phone connected to TTGO AP (but then, the phone has no internet connectivity, unless you use some other magic)
  2. A WiFi AP at home, with phone and TTGO connected to it.
  3. The phone in hotspot mode, and the TTGO connected to the phone's hotspot.

Variant 2. and 3. are the preferred ones. They should work without problems. Of course, for (2) the WiFi AP must not filter any traffic between devices. This should be fine for a "normal" AP at home. Sometimes, if you have a "guest" network on your AP, this filters traffic between devices, and thus will not work.

I guess you have case (2.) when you refer to "TTGO online (at home)". Are the TTGO and your phone connected to the same WiFi network?

RegsJR commented 2 years ago

Since yesterday, no more connection between TTGO and Android phone. I set the option 2 (access point) and saved. Since this, Connection error, connection refused. Connected to the same wifi (notebook as hotspot), tested on the notebook and phone, with the same result. I will try to flash the TTGO once again and then to check again.

dl9rdz commented 2 years ago

If you set WiFi mode to 2 (access point) on the TTGO, then the TTGO will operate as hotspot, and your phone will have to connect to that hotspot to have an connection (but then no internet, not map, unless you how to setup advanced routing on smartphone to wifi and mobile data simultaneously. Hard and not what I recommend on Android).

If you have a notebook as hotspot, and your phone is connected via WiFi to that hotspot, then the TTGO should also connect to that hotstop. This requires Wifi mode 1 (client) or 3 (automated selection of client or access point mode - uses client if connection to configured hotspot succeeds).

RegsJR commented 2 years ago

DL9RDZ, thanks for support, after re-flashing the last dev version it seems everything works well. Offline and Online mode tested. Perfect work, thanks for this. Best Regards! /Milan