![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk and NMEA strings | rleal | Shell Programming and Scripting | 9 | 01-02-2009 02:32 PM |
| ?Comprehensive Guide to Evaluating Event Stream Processing Engines? | iBot | Complex Event Processing RSS News | 0 | 11-23-2008 02:40 PM |
| Adaptive Overlays for Shared Stream Processing Environments | iBot | UNIX and Linux RSS News | 0 | 10-07-2008 01:30 AM |
| Coral8: Event Stream Processing and Intrusion Detection | iBot | Complex Event Processing RSS News | 0 | 01-03-2008 05:10 AM |
| CEP Use Case: Stream Processing in Multiplayer Online Gaming | iBot | Complex Event Processing RSS News | 0 | 09-16-2007 11:00 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
gpsd, gpspipe NMEA sentences stream processing
Hi,
running gpsd, gpspipe I get a stream of NMEA sentences. What I need is to write awk script for pipelining and on-the-fly processing of the streamed NMEA senteces to output (terminal session in my case). The issue is, I can get gpsd working in -D 5 mode (debug mode). There is no issue with gpspipe. I need to extract some data from specific NMEA sentences (lines) for use in another pipelined application/s. I have got some nice examples, reading data from a static file. Please tell me how to start such a pipeline with live data stream as input . gpsd stream > filename | awk script - readline gpsd stream | awk script - readline Thanks. Happy New Year Darius |
|
||||
|
Quote:
It works fine. Followed some awk examples from The GAWK Manual - Reading Input Files and did some testing to learn basics of awk first. Darius |
|
||||
|
Quote:
I will try not to give web links in my posts to save your time ![]() Another NMEA thread dealt with NMEA static file. In my case, I succeeded to connect Bluetooth dongle to my server, get it connected to Bluetooth GPS device and have gpsd, gpspipe to read NMEA on-the-fly . So awk examples gave me a hint how to select records with specified field and print results to stdout. I would like to learn how basic gps software does work and what data gets from what NMEA sentences, fields, as for tests I need to write basic gps open source software, to discuss some features already known from more advanced gps applications. I don't expect to go to data graphical vizualization phase. But would like to know how awk script can slow down postprocessed data input. So have to open 2 awk terminal sessions in seperate windows to see how fast awk can process live data stream (pipeline), as in my case. Darius |
| Sponsored Links | ||
|
|