Sponsored Content
Top Forums UNIX for Beginners Questions & Answers GPS Device not able to read xml files Post 302999756 by Corona688 on Tuesday 27th of June 2017 03:55:30 PM
Old 06-27-2017
The only thing I recognize in that mess is "</course>".
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to read or write device files

hi everybody, i am working in device drivers.As a beginner to this field ,i dont know how to read or write device files. Will copy_to_user and copy_from_user help me? I have created a device file using mknod command .Can anybody help me in this regard :confused thanks in advance sriram (1 Reply)
Discussion started by: sriram.ec
1 Replies

2. UNIX for Dummies Questions & Answers

how to read and write device registers

hello friends, While in the process of writing device drivers, i am facing problem in reading and writing device registers.I got base address of those mapped device registers. Can i add offset of those registers to that Base address to get access of those... (1 Reply)
Discussion started by: sriram.ec
1 Replies

3. UNIX Desktop Questions & Answers

read XML xml element with REGEXP

Hi, I would need to read an xml element from an xml file to a local variable. Please could you help me with a shell script to get so? Considering that I have a file called file.xml like below: <header> <description>This is the description</description> <content>This is the... (2 Replies)
Discussion started by: oscarmon
2 Replies

4. UNIX for Dummies Questions & Answers

install linux on GPS device?

hi all, this might be a silly question, but... a few years ago, i bought a Nortech Navigation E-GPS010. this is a car/hand-held GPS unit that, for a while, worked pretty well. in fact, it still works well. the map version on my GPS is dated 2006, so i thought i'd upgrade; however, the crappy... (10 Replies)
Discussion started by: jmd9qs
10 Replies

5. Shell Programming and Scripting

shell script to read a line in gps receiver log file and append that line to new file

Hi, I have gps receiver log..its giving readings .like below Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GPSD,R=1 $GPGSV,3,1,11,08,16,328,40,11,36,127,00,28,33,283,39,20,11,165,00*71... (3 Replies)
Discussion started by: gudivada213
3 Replies

6. Programming

Problem with read data from serial device

I have problem with C programming. I want to send & receive data through serial communication. I send data(command) to device to get data from device but when receive data, it can't get altogether of data. It get only some data. What should I do to get altogether of data? If all of... (7 Replies)
Discussion started by: noppon_s
7 Replies

7. Shell Programming and Scripting

Extract strings from XML files and create a new XML

Hello everybody, I have a double mission with some XML files, which is pretty challenging for my actual beginner UNIX knowledge. I need to extract some strings from multiple XML files and create a new XML file with the searched strings.. The original XML files contain the source code for... (12 Replies)
Discussion started by: milano.churchil
12 Replies

8. Shell Programming and Scripting

Splitting xml file into several xml files using perl

Hi Everyone, I'm new here and I was checking this old post: /shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html (cannot paste link because of lack of points) I need to do something like this but understand very little of perl. I also check... (4 Replies)
Discussion started by: mcosta
4 Replies

9. Shell Programming and Scripting

Splitting a single xml file into multiple xml files

Hi, I'm having a xml file with multiple xml header. so i want to split the file into multiple files. Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix. eg : <?xml version="1.0" encoding="UTF-8"?> <ml:individual... (3 Replies)
Discussion started by: Narendra921631
3 Replies

10. Shell Programming and Scripting

Read line from serial device with BASH

I'm new to Linux (Ubuntu 16.04), and very new to BASH scripting. I have a Numato 8-channel USB GPIO device, which is a DAQ that appears in the system as a serial port. In Linux it appears as ttyACM0. I can easily manipulate a GPO with, for example: echo "gpio set 7" > /dev/ttyACM0 ...followed... (12 Replies)
Discussion started by: Chalk-X
12 Replies
MTKBABEL(1)						      General Commands Manual						       MTKBABEL(1)

NAME
mtkbabel - Tool for managing GPS data loggers based on the MTK chip SYNOPSIS
mtkbabel [-abcdEfhiIlmopRrstvwx] DESCRIPTION
mtkbabel is a command line program to operate GPS data loggers based on the MediaTek MTK chip. It was tested on the i-Blue 747, Qstarz BT- Q1000 and on the Holux M-241, it should work also with other GPS devices based on the same chip. The main features are: - Command line interface - Save data log in GPX and raw binary format - If required retrieve all the data, also the old one being overlapped - Change logging criteria: time, distance, speed - Change log format - START/STOP logging - Set OVERLAP or STOP method on memory full - Erase the internal memory USAGE
In order to use mtkbabel, please follow these instructions: 1. Attach the GPS data logger device to your computer via USB. 2. Now you have to switch the GPS device (at least the i-Blue 747) into LOG or NAV mode, otherwise the device will not be powered on, and no connection will be possible. Beware that in NAV mode the device goes into sleep mode if not connected to any Bluetooth device. 3. In order to use mtkbabel you have to either be root (not recommended) and/or you must have read/write permissions for the USB device file, usually /dev/ttyUSB0. This device usually has permissions 'crw-rw---- 1 root dialout', so you can either add your user to the dialout group (in this example) by doing $ adduser USERNAME dialout or (not recommended) make the device world-readable/-writable by doing: $ chmod 666 /dev/ttyUSB0 Another option is to write a udev rules file to change the owner and permissions of /dev/ttyUSB0 according to your requirements. 4. You can now run mtkbabel. For example, if you want to download the track log and the list of waypoints you captured on the device, run: $ mtkbabel -s 115200 -l off -f foo -w -t The default speed of 115200 baud should work in most cases and you can omit it, for the Holux M-241 you must use 38400 instead. This will turn off the autolog function, which is always turned on when you switch on the device. The track log will be in the file foo_trk.gpx, the waypoints in the file foo_wpt.gpx (both in GPX format). The file foo.bin will contain the binary log file. Downloading the data from the GPS device can take several minutes, depending on how much data has to be transferred. In order to delete all data from the GPS device, run: $ mtkbabel -s 115200 -E OPTIONS
-a Read all the log memory (overlapped data). -b filename.bin Do not read data from a GPS device, but rather read a previously saved .bin file. Ignore -f option. -c Create a GPX file with both tracks and waypoints. -d debug_level Debug level: 0..7. -E Erase data log memory. -f Base name for saved files (.bin and .gpx). If you, for example, use -f gpslog, mtkbabel will create files which are called gpslog.gpx, gpslog_trk.gpx, gpslog_wpt.gpx and gpslog.bin. -h Show a help text and exit. -i Ignore some error conditions and try to extract as much data as possible from GPS. -I Same as -i, but also write bad records into the GPX file. -l {on|off} Turn logging ON/OFF. -m {stop|overlap} Set STOP/OVERLAP recording method on memory full. -o log_format Enable or disable log fields (FIELD1,-FIELD2,...), available fields: UTC, VALID, LATITUDE, LONGITUDE, HEIGHT, SPEED, HEADING, DSTA, DAGE, PDOP, HDOP, VDOP, NSAT, SID, ELEVATION, AZIMUTH, SNR, RCR, MILLISECOND, DISTANCE. -p port Communication port, default: /dev/ttyUSB0. -R Recover from disabled log: erase data and reset recording criteria. -r time:distance:speed Set logging criteria (zero to disable): every 0.10-9999999.90 seconds, every 0.10-9999999.90 meters, over 0.10-9999999.90 km/h. Not all the devices support such wide ranges, more reasonable values are 1-999 seconds, 10-9999 meters and 10-999 km/h. -s speed Serial port speed, default 115200 baud. -t Create a GPX file with tracks. -v Show version information and exit. -w Create a GPX file with waypoints. -x Force reading Holux format. This is required to read-back the binary data produced by some Holux devices, which do not embed into the data itself the Holux identifier string. BUGS
Please report any bugs to Niccolo Rigacci <niccolo@rigacci.org>. LICENCE
mtkbabel is covered by the GNU General Public License (GPL), version 2 or later. AUTHORS
Niccolo Rigacci <niccolo@rigacci.org> This manual page was written by Uwe Hermann <uwe@hermann-uwe.de>. It is licensed under the terms of the GNU GPL (version 2 or later). July 30, 2011 MTKBABEL(1)
All times are GMT -4. The time now is 04:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy