I want to connect an external GPS transmitter to Locus Maps on an Android device via a Bluetooth SP

Marko Rebane shared this question 31 days ago
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?

Replies (5)

photo
1

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,

photo
1

Hi,

Sorry for late reply. Got it working .


Can you tell what UUID locus maps use to receive gps data over BLE ?

photo
1

Hello,

no problem.

Locus Map for BT Classic always use common SPP UUID: 00001101-0000-1000-8000-00805F9B34FB

photo
1

Hi,


But for BT4+(LE)

photo
1

Ah oki

BT4 reads data from following characteristic: 0000fff1-0000-1000-8000-00805f9b34fb

Leave a Comment
 
Attach a file