diff --git a/examples/meshtastic/hardware/radio.htm b/examples/meshtastic/hardware/radio.htm index ae70704..6a37caf 100644 --- a/examples/meshtastic/hardware/radio.htm +++ b/examples/meshtastic/hardware/radio.htm @@ -77,7 +77,7 @@

Here an example of a classical (home made) ground plane antenna, using an SMA socket and 2 mm copper wire, after calculating the lengths here:

- +

Can easily be trimmed by making the vertical wire a little too long, and cutting off one mm after another until it matches perfectly, while having it attached to a NanoVNA.


Line of Sight

diff --git a/examples/meshtastic/platforms/android/src/org/cl/meshtastic/MeActivity.java b/examples/meshtastic/platforms/android/src/org/cl/meshtastic/MeActivity.java index 82f30ba..cecf795 100644 --- a/examples/meshtastic/platforms/android/src/org/cl/meshtastic/MeActivity.java +++ b/examples/meshtastic/platforms/android/src/org/cl/meshtastic/MeActivity.java @@ -13,6 +13,8 @@ public class MeActivity extends QtActivity { public static native void qtUsbDeviceAttached(); + // GPS + // location hack: needed to not lose initial position with non moving // devices (on android Qt seems not to capture inital location values) @@ -21,8 +23,7 @@ public class MeActivity extends QtActivity public double position_alt = 0.0; public long position_time = 0; - public void iniLocation() - { + public void iniLocation() { LocationListener mLocationListenerGPS = new LocationListener() { @Override public void onLocationChanged(android.location.Location location) { @@ -42,6 +43,8 @@ public class MeActivity extends QtActivity } } + // USB + @Override protected void onNewIntent(Intent intent) { if ("android.hardware.usb.action.USB_DEVICE_ATTACHED".equals(intent.getAction())) {