I am trying to get started with
OpenCPN. I am struggling to get
GPS data in. I have a
Garmin GLO 2 bluetooth
GPS unit. It works great with my
iPad. I have used it with Maps and
Navionics.
I have tried getting GPS data into OpneCPN on my Mac and on a Pi4.
On the Mac, I connect to the unit on bluetooth. I select Options, Connections, Add connections,
Serial. For baud I choose 4800, protocol name 0183. Under data port I see two candidates
1. /dev/cu.GarminGLO20ba
2. /dev/cu.Bluetooth-Incoming-Port
Neither seems to
work. The GPS icon remains red.
I also tried on the pi. When I launch openplotter I am able to connect to the device through the bluetooth menu. After connecting I get a message "Pairing successful - this device has no services which can be sued with Raspberry Pi".
In
OpenCPN I went into options, connections and chose "new connection" I selected
serial. Under Dataport my choices are
/dev/ttyusb0 - 091e -003
/dev/gps0 - link -> /dev/ttyUSB0
/dev/ttyAMA0-
/dev/srial1 - link ->/dev/ttyAMA0
/dev/gps0
I tried all of these and nothing seemed to
work.
After some googling it seemed I might need to bind the device so I went into terminal and said:
rfcomm bind /dev/rfcomm1 14:13:0B:C0:B0:BA
This appeared too work because when I then input "rfcomm" I got:
rfcomm1: 14:13:0B:C0:B0:BA channel 1 clean
I expected rfcomm1 to show up as a dataport but it did not.
Help please. I cant find much how to stuff on connecting gps. I also have an android
phone. Is it possible to share the location of that
phone with opencpn somehow?