Ultimately am trying to get GPS data into an HTML5 web page call to give the web page a locus on which to work. (The web page pulls up a map.)
The GPS dongle that I am using speaks at 9600 baud so I cannot check it as a GPS Receiver under interactive. That being said, I have just set it up on the serial 2 port and am capturing the GPS serial string when it comes into the player on that port and shoving it into a user variable named CurrentGPDData. This works.
For developing this a bit at a time, the next step is to get the lat lon and valid properties available to the system. I am attempting to set user variable PosLat to ParseGPSdataGPRMCformat($$CurrentGPSData$$).latitude. This passes the correct serial string into the function but PosLat just becomes that call string instead of the function return.
This is what ends up in PosLat:
Obviously, I am doing this wrong somehow.
Any ideas how I can call ParseGPSdataGPRMCformat() and get the data extracted for use?
The function is already in the autorun.brs. I really wouldn't want to re-invent the wheel.