[Qgis-user] Connecting QGIS to an Android GPS
Paolo Cavallini
cavallini at faunalia.it
Mon Dec 26 03:59:15 PST 2016
Il 26/12/2016 10:35, Pedro VenĂ¢ncio ha scritto:
> Hi Paolo,
>
> I've no problem to connect an Android phone (Nexus 4) to a Linux Mint /
> Ubuntu laptop, both with ShareGPS [0] or GPS over BT [1] apps.
>
> For instance, for ShareGPS, Add a new connection, Type standard NMEA
> format, connection over bluetooth, auto find and connect to the laptop
> bluetooth. Then click on 'bluetooth icon' on ShareGPS, to make the
> smartphone visible to others by 180 seconds, and on laptop (where I've
> gpsd deamon running), the steps are exactly the ones pointed by Richard:
>
> $ hcitool scan
> (here you will get the MAC address - xx:xx:xx:xx:xx:xx)
>
>
> $ sdptool records xx:xx:xx:xx:xx:xx
>
> In your case the answer is:
>
> Service Name: ShareGPS
> Service RecHandle: 0x10011
> Service Class ID List:
> "Serial Port" (0x1101)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 2
>
> So, you do:
>
> $ sudo rfcomm bind 0 xx:xx:xx:xx:xx:xx 2
>
> and you will get the /dev/rfcomm0.
>
> Then run QGIS with root, and connect GPS to /dev/rfcomm0.
>
> It is working fine here.
Thanks Pedro, now working. There was some communication problems,
apparently with the kernel modules.
All the best.
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
More information about the Qgis-user
mailing list