Community discussions

MikroTik App
 
nordex
Member Candidate
Member Candidate
Topic Author
Posts: 103
Joined: Fri Mar 23, 2007 7:46 pm
Location: Croatia

gps position through gprs

Thu Jun 07, 2007 9:52 pm

Hello,

I was wondering, is it possible to constantly send data from GPS card (like one minipci from commel) through GPRS card ?
That way, it would be easy to install RB in a vehicle and have
it's location monitored...
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: gps position through gprs

Fri Jun 08, 2007 9:30 am

you could have a script get the position values, and send them to email. or, you could do it the other way around and make some script on the remote machine, which would SSH into the router and get the values from there.
 
nordex
Member Candidate
Member Candidate
Topic Author
Posts: 103
Joined: Fri Mar 23, 2007 7:46 pm
Location: Croatia

Re: gps position through gprs

Fri Jun 08, 2007 2:56 pm

ok, tnx.

Second solution is more reliable as emails have tension to have delay. I need to send data every 10 seconds.
Can I ssh, or send data some other way, FROM the router as I can't know router address( which is dynamicly given by mobile service provider)

I know that Mikrotik perhaps wasn't built for this purpose, but I would like to give it a try.

p.s. can you recommend some gps and gprs cards.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: gps position through gprs

Fri Jun 08, 2007 3:31 pm

sorry but the router's scripting facility can't do this, only the other way around. maybe by way of some tunneling. let somebody else from the forum also make a suggestion
 
nordex
Member Candidate
Member Candidate
Topic Author
Posts: 103
Joined: Fri Mar 23, 2007 7:46 pm
Location: Croatia

Re: gps position through gprs

Fri Jun 08, 2007 6:55 pm

ok, then back to first solution.
I will set up my own mail server on fixed IP address, and retrieve data from routerboard through email.

Can someone suggest me gps card and gprs card ?

Tnx.
 
abravo
just joined
Posts: 4
Joined: Mon Sep 12, 2011 6:44 pm

Re: gps position through gprs

Fri Feb 03, 2012 12:47 pm

I use for transport WiFi solutions a USB GPS antenna (Hi-206 model) in a RB411
Maybe this response is a bit late.

I would appreciate if you can explain how finally you send GPS data to a external server, if it is done from the Mikrotik, or a service in the server connects to the mikrotik to retrieve the GPS data.

Thanks in advance
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: gps position through gprs

Mon Feb 06, 2012 11:27 am

try to use fetch to send data in HTTP GET request
 
abravo
just joined
Posts: 4
Joined: Mon Sep 12, 2011 6:44 pm

Re: gps position through gprs

Mon Feb 06, 2012 2:54 pm

try to use fetch to send data in HTTP GET request
Thanks for your recommendation!!
I see fetch is used to send files, then the idea would be to store GPS data in a a file, and then send the file using fetch, or is it possible to send the GPS information directly by http?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: gps position through gprs

Mon Feb 06, 2012 4:59 pm

just code it into url, like http://your_server/update.php?lat=12345&lon=67890
 
abravo
just joined
Posts: 4
Joined: Mon Sep 12, 2011 6:44 pm

Re: gps position through gprs

Mon Feb 06, 2012 6:50 pm

just code it into url, like http://your_server/update.php?lat=12345&lon=67890
Interesting. Thanks!!!

Who is online

Users browsing this forum: No registered users and 189 guests