1.0 KiB
ExternGnss
Display smartphone GNSS data and external GNSS from a serial module via OTG. Show distance between the both fixes.
Used Libs
usb-serial-for-android as the OTG serial driver.
External GNSS module
For testing a Ublox NEO 8 was used with a FTDI FT232R. Just connect the TX/RX pairs and select 5V for the module.
Tip for USB-free ADB connection
- connect the device via USB
- set the adb server to network debugging:
adb tcpip 5555
- get the device IP address:
adb shell ip addr show wlan0
- connecy the device via network:
adb connect ip-address-of-device:5555
- verify the network connection:
adb devices
- unplug the USB cable from device
- the device should still be attached via network to adb