Community discussions

MikroTik App
 
tazdevil
newbie
Topic Author
Posts: 29
Joined: Tue Oct 29, 2013 7:12 pm

Mikrotik with GPS support

Fri Jan 23, 2015 4:11 pm

Hi, what routeros version and Mikrotik support come with the /system gps command? I am using RB912UAG-2HPnD-OUT and version 6.20 and routerboard 3.17 but I could not find the /system gps.

I am also using Huawei ME909u-521 Mini-PCIe LTE module.

I would like the Mikrotik + Huawei LTE to send the GPS NMEA to my traccar server. Does anyone know how to do it?

Thanks.
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Re: Mikrotik with GPS support

Fri Jan 23, 2015 4:37 pm

please upgrade the RouterOS to v6.25 and then you need to install the GPS package as well and then you need to add a gps-init command AT^WPDGP that will enable GPS positioning on the usb port.
 
tazdevil
newbie
Topic Author
Posts: 29
Joined: Tue Oct 29, 2013 7:12 pm

Re: Mikrotik with GPS support

Fri Jan 23, 2015 4:47 pm

Thanks Uldis. So it is only available from 6.25 onwards.
 
tazdevil
newbie
Topic Author
Posts: 29
Joined: Tue Oct 29, 2013 7:12 pm

Re: Mikrotik with GPS support

Fri Jan 23, 2015 5:25 pm

Hi Uldis, how and where do I add the gps-init=AT^WPDGP command?
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Re: Mikrotik with GPS support

Fri Jan 23, 2015 5:38 pm

[admin@MikroTik] /system gps> set init-string=AT^WPDGP
[admin@MikroTik] /system gps> pr
          enabled: no
             port: usb2
          channel: 0
      init-string: AT^WPDGP
  set-system-time: yes
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Mikrotik with GPS support

Fri Jan 23, 2015 6:19 pm

What is this init-string thingy? It doesn't appear to be at all documented on the manual page. Not only it's existence is shown, let alone format.
 
tazdevil
newbie
Topic Author
Posts: 29
Joined: Tue Oct 29, 2013 7:12 pm

Re: Mikrotik with GPS support

Fri Jan 23, 2015 6:20 pm

[admin@MikroTik] /system gps> set init-string=AT^WPDGP
[admin@MikroTik] /system gps> pr
          enabled: no
             port: usb2
          channel: 0
      init-string: AT^WPDGP
  set-system-time: yes
Thanks.
 
tazdevil
newbie
Topic Author
Posts: 29
Joined: Tue Oct 29, 2013 7:12 pm

Re: Mikrotik with GPS support

Thu Feb 05, 2015 6:57 pm

Hi Uldis,

I would like to send the GPS data captured to traccar gps server. How do I make use of the GPS package and send the following data to the server?

Login (sent once TCP connection is establshed):
$PGID,123456789012345*0F\r\n (where 123456789012345 - IMEI or other unique id)

Simple location report format is just a standard NMEA GPRMC sentence:

$GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68\r\n
225446 - Time of fix 22:54:46 UTC
A - Navigation receiver warning A = OK, V = warning
4916.45,N - Latitude 49 deg. 16.45 min North
12311.12,W - Longitude 123 deg. 11.12 min West
000.5 - Speed over ground, Knots
054.7 - Course Made Good, True
191194 - Date of fix 19 November 1994
020.3,E - Magnetic variation 20.3 deg East
*68 - Checksum

Thanks.
 
tazdevil
newbie
Topic Author
Posts: 29
Joined: Tue Oct 29, 2013 7:12 pm

Re: Mikrotik with GPS support

Sun Feb 08, 2015 4:49 pm

Hi Uldis,

I would like to send the GPS data captured to traccar gps server. How do I make use of the GPS package and send the following data to the server?

Login (sent once TCP connection is establshed):
$PGID,123456789012345*0F\r\n (where 123456789012345 - IMEI or other unique id)

Simple location report format is just a standard NMEA GPRMC sentence:

$GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68\r\n
225446 - Time of fix 22:54:46 UTC
A - Navigation receiver warning A = OK, V = warning
4916.45,N - Latitude 49 deg. 16.45 min North
12311.12,W - Longitude 123 deg. 11.12 min West
000.5 - Speed over ground, Knots
054.7 - Course Made Good, True
191194 - Date of fix 19 November 1994
020.3,E - Magnetic variation 20.3 deg East
*68 - Checksum

Thanks.
Does anybody know how to send an Identity or IMEI and $GPRMC data to a GPS tracking server in routeros?
 
WirelessRudy
Forum Guru
Forum Guru
Posts: 3119
Joined: Tue Aug 08, 2006 5:54 pm
Location: Spain

Re: Mikrotik with GPS support

Thu Jan 17, 2019 12:25 pm

Hi Uldis,

I would like to send the GPS data captured to traccar gps server. How do I make use of the GPS package and send the following data to the server?

Login (sent once TCP connection is establshed):
$PGID,123456789012345*0F\r\n (where 123456789012345 - IMEI or other unique id)

Simple location report format is just a standard NMEA GPRMC sentence:

$GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68\r\n
225446 - Time of fix 22:54:46 UTC
A - Navigation receiver warning A = OK, V = warning
4916.45,N - Latitude 49 deg. 16.45 min North
12311.12,W - Longitude 123 deg. 11.12 min West
000.5 - Speed over ground, Knots
054.7 - Course Made Good, True
191194 - Date of fix 19 November 1994
020.3,E - Magnetic variation 20.3 deg East
*68 - Checksum

Thanks.
Does anybody know how to send an Identity or IMEI and $GPRMC data to a GPS tracking server in routeros?
Hi,
Did you manage to find out?
I am new to this but would like to do the same. Any directions?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27073
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Mikrotik with GPS support

Thu Jan 17, 2019 3:20 pm

Rudy, please do not do this crossposting. I already gave you a step-by-step manual, if you read it, you will have a working solution.
 
WirelessRudy
Forum Guru
Forum Guru
Posts: 3119
Joined: Tue Aug 08, 2006 5:54 pm
Location: Spain

Re: Mikrotik with GPS support

Thu Jan 17, 2019 4:15 pm

Rudy, please do not do this crossposting. I already gave you a step-by-step manual, if you read it, you will have a working solution.
Well, sometimes it takes crossposting to get any reply from 'a' member of the forum.. members don't get notifications on all new posts especial if they never wrote in a tread...

That 's my luck today, to have you reading all my posts.... :D You'll see them all coming off course... ...
 
szkalman
just joined
Posts: 6
Joined: Fri Aug 10, 2018 4:37 pm

Re: Mikrotik with GPS support

Mon Feb 25, 2019 12:59 pm

normis, could you please send me the step by step manual for sending gprmc data to a tracker server. I do not find the solution. Thanks!

Rudy, please do not do this crossposting. I already gave you a step-by-step manual, if you read it, you will have a working solution.