Fedora Linux Support Community & Resources Center
Old 9th June 2008, 03:09 PM
stormvice Offline
Registered User
Join Date: Jun 2005
Age: 36
Posts: 65
GPS, serial port and a lot of work to do...

Hello people,

I'm working with a opensource GPS device (a tracker for security purpose). The system works very well standalone, but now i wanna integrate the GPS coords with a video security system. I can merge any kind of text info on the videos, so now the next step is to merge the GPS coords on the video.
The current problem: I cannot acquire the info from the GPS module automatically. I can connect to the device via serial port through minicom or putty and ask for the coords, but i couldn't find a way to do this automatically.
Can i treat the serial port like a console to send the command automatically and grab the answer?

The GPS works with 9600 8N1 no flow control and that's all the info i have for now

EDIT: I'm bumping into many google hits, but I'm kinda lost my way on this mess...the stty command let me configure some serial port parameters right? If i establish the correct setup, can I simply send a command using
echo "something" > /dev/ttyS0
and listen with
cat /dev/ttyS0

EDIT2: I figured the syntax of the stty and now i got the GPS answer on a log file. Problem now is the answer...its a string with a bunch of info
it's like this...
and all i want is this...the latitude and longitude coords...
Can somebody give me a hand to cut these values and separate by spaces?

Last edited by stormvice; 9th June 2008 at 07:59 PM.
Reply With Quote

gps, lot, port, serial, work

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial port tarunuppal Hardware & Laptops 4 30th March 2008 06:11 AM
Serial Port not available on FC7, ok FC5 tcfordjakarta Hardware & Laptops 2 31st July 2007 07:38 PM
Will FC4 work with USB-to-serial port adaptor? OldSlacker Hardware & Laptops 1 6th February 2006 07:24 AM

Current GMT-time: 23:50 (Wednesday, 20-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat