You are not logged in.
Pages: 1
Hello Sirs,
I need some help to configure tcp server for store incomming data.
Im working on gps tracker project. Device sends gps data to the server and there it have be displayed on the map.
For tcp server Im using openbsd-netcat http://www.archlinux.org/packages/commu … sd-netcat/
It works fine, listening specified port and capture all incomming data to text file:
nc.openbsd -l 2222 |tee ~/gps_data.txt
Sirs, how I could make that every new gps rmc line would be writen at new line in log file?
RMC line's example is:
$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A
At the moment all incomming data stores to one line.
Thanks in advance.
Offline
Pages: 1