Export GPS location?

We have installed serial GPS on our wireless routers and we can view their location by typing “monitor” under the /system gps command prompt. My challenge is that I would like to export this information so it can be transferred to a database to show the current location. Is there anyway to get the mikrotik to either send these coordinates, or anyway to export them to a file that can be transferred off? I know how to automate a file transfer off the mikrotik, but I can’t seem to find a way to export this information to a file or transfer it in any other way besides viewing it with the “monitor” command.

Thanks in advance.

Hello,

I am trying to install GPS but monitor doesnt works.
Could you help me to configure MiniPCIe to know commands to start GPS?
Thanks!

these are the commands I used, yours may differ depending on the model and interface to the Mikrotik motherboard:

/system console
set 0 disabled=yes

/port
set 0 baud-rate=4800

/system gps
set enabled=yes port=serial0

/system console
set 0 disabled=no


To monitor/check GPS location:

/system gps
monitor

“q” to stop monitor

I did find a solution to my question

/system gps
monitor file=xxxxx


where xxx is the name of the file you wan to export the gps location to.

Now I just need to work out a process to send the file to our database & import, which I think I’ll be able to do.

Thanks.

I am using a MC7710 or MC8705 MiniPCIe. Its go to usb port.
My problem is, the monitor is always 0 data. I dont know if its something about NMEA protocol, or bauds?

Thanks

So you would change the command and use USBx instead of Serial0. It could be a speed issue, make sure you set the baud rate to equal what the GPS is communicating at. You may not need the commands that disable the serial port & then re-enable it. I am using the serial port and I can’t change the speed without disabling it first.

Ok, so I’m looking for a way to refine this GPS information. I have a script that will run at regular interval and will write the GPS location to a file on the radio, but what I really need is for this information to be logged to our syslog server. Is there anyway we can get the radio to send the GPS location via the logging facility?