I want to connect an external GPS transmitter to Locus Maps on an Android device via a Bluetooth SP
Answered
I want to connect an external GPS transmitter to Locus Maps on an Android device via a Bluetooth SPP port. I read the GPS data using a Raspberry Pi and forward it over Bluetooth.
My device outputs GNGGA and GNRMC sentences, but it seems that these are not enough.
Which NMEA sentences does Locus Maps require to display the data correctly and function properly?
Hello Marko,
currently, the RMC message is not handled at all, but GGA should be enough to display location on the map.
Do you see any information about received locations in the "Sensors manager" screen?
External Bluetooth sensors allow NMEA messages to be recorded in the file. May you give it a try? Just enable Settings > GPS & Sensors > NMEA recording and app then records data into "app/data/nmea" directory. Share a file with me, so I may test it and verify, all is correct on the app side,
Hello Marko,
currently, the RMC message is not handled at all, but GGA should be enough to display location on the map.
Do you see any information about received locations in the "Sensors manager" screen?
External Bluetooth sensors allow NMEA messages to be recorded in the file. May you give it a try? Just enable Settings > GPS & Sensors > NMEA recording and app then records data into "app/data/nmea" directory. Share a file with me, so I may test it and verify, all is correct on the app side,
Hi,
Sorry for late reply. Got it working .
Can you tell what UUID locus maps use to receive gps data over BLE ?
Hi,
Sorry for late reply. Got it working .
Can you tell what UUID locus maps use to receive gps data over BLE ?
Hello,
no problem.
Locus Map for BT Classic always use common SPP UUID: 00001101-0000-1000-8000-00805F9B34FB
Hello,
no problem.
Locus Map for BT Classic always use common SPP UUID: 00001101-0000-1000-8000-00805F9B34FB
Hi,
But for BT4+(LE)
Hi,
But for BT4+(LE)
Ah oki
BT4 reads data from following characteristic: 0000fff1-0000-1000-8000-00805f9b34fb
Ah oki
BT4 reads data from following characteristic: 0000fff1-0000-1000-8000-00805f9b34fb
Replies have been locked on this page!