if the USB device is configured as a serial device, Xojo (and the whole OS) will see it as a serial port.
Just know the right protocol to communicate and you can talk with it.
I think I might be biting off more than I can chew but not quite giving up yet… (glutton for punishment I guess).
My Garmin model is a Nuvi 50LM
Well after connecting my GPS to my computers USB port it gets detected as a drive letter.
There is a file in a folder G:\GPX\Current.Gpx. This file stores your GPS favorites.
After viewing this file it seems like it might be a XML file.
From what I can figure out so far it has a header as shown.
Label, Type, Symbol, Description, Name on GPS, Comment, Latitude, longitude, Elevation, Distance to active point and Bearing.
And that’s just the header from waypoints. There are Waypoints, Routes, Tracks, Photos and Geocaches all with their own
headers.
A bit of the file starts like whats showing below.
This is just the first part of the file for an example.
I exported my data to a text based file. I think it was tab or comma delimited.
Next, I created an app where I was able to read the data into a database. In the app I was able to send the GPS coordinates to my TomTom or Navigon navigation app, using a ShowURL command. The URL was constructed like this:
Of course I replaced the values of the curly-brackets with the data from my internal database.
Online you can find many other URI schemas. In my app I was able to set the URI template, according to what the user wants. Works like a charm!