|
2009-04-14
, 20:53
|
Posts: 6 |
Thanked: 7 times |
Joined on Apr 2009
|
#2
|
|
2009-04-16
, 04:28
|
Posts: 109 |
Thanked: 91 times |
Joined on Dec 2007
|
#3
|
Hi z2n,
I've a Holux M-241 GPS logger and here's a short description
what I've done to download tracks to my N800 (you need a shell and root access)!
1. By gpsbabel via USB
I've compiled gpsbabel version 1.3.6 for Diablo 4.1.2
and the missing USB-to-UART kernel modules. For the M-241 the
usbserial.ko and the cp2101.ko modules are required!
{ USB_DEVICE(0x0e8d, 0x3329), /* MediaTek Inc GPS */
2. By gpsbabel via Bluetooth
First you have to install the bluez-utils-test package from
http://repository.maemo.org/pool/dia...b/bluez-utils/
Then create a Bluetooth connection to your GPS logger by
hcitool cc <bt-address>
and bind the RFCOMM device /dev/rfcomm0 to the GPS logger
rfcomm bind /dev/rfcomm0 <bt-address>
Now you can call gpsbabel to read out the track data
gpsbabel -t -i m241 -f /dev/rfcomm0 -o gpx -F mytrack.gpx
The <bt-address> is the Bluetooth address of your GPS device,
like 00:1B:C1:04:F7:71. You can find it e.g. by calling
hcitool scan
For your QT-1300 you should try "-i mtk" instead of "-i m241"
as parameter for gpsbabel!
3. By bt747 via Bluetooth
I've successfully read out the track data by bt747 (version 1.68.7),
but the application is incredible slow on the N800 (see the attached
screen shot)! If you want to try it you have to install Jalimo from
https://wiki.evolvis.org/jalimo/index.php/Maemo
together with the optional packages
classpath-gtk, librxtx-jni and librxtx-java! Then you can use my
modified run_rxtx.sh script to start bt747. If /dev/rfcomm0 does not
exist the script will do the job for you! Therefore you have to
replace the <bt-address> in line 4 and 5 by the address of your GPS
device!
|
2009-04-20
, 00:51
|
Posts: 7 |
Thanked: 0 times |
Joined on Sep 2008
|
#4
|
|
2009-04-20
, 16:56
|
Posts: 6 |
Thanked: 7 times |
Joined on Apr 2009
|
#5
|
#!/bin/sh BTADDR=00:xx:xx:xx:xx:xx BTdevice=$(dbus-send --system --type=method_call --print-reply \ --dest=com.nokia.btcond /com/nokia/btcond/request \ com.nokia.btcond.request.rfcomm_bind string:$BTADDR string:SPP 2>&1 ) if [ $? != 0 ]; then BTdevice=$(echo ${BTdevice} | cut -d ' ' -f 8-) else BTdevice=$(echo ${BTdevice} | cut -d ' ' -f 7- | tr -d \") fi ./gpsbabel -t -w -i m241 -f $BTdevice -o gpx -F `date +'%Y-%m-%d-%H%M%S'`.gpx
The Following User Says Thank You to Koios For This Useful Post: | ||
|
2009-04-23
, 17:56
|
Posts: 41 |
Thanked: 8 times |
Joined on Mar 2008
|
#6
|
|
2009-06-21
, 10:28
|
Posts: 6 |
Thanked: 0 times |
Joined on Jun 2009
|
#7
|
|
2009-08-29
, 17:30
|
Posts: 7 |
Thanked: 0 times |
Joined on Sep 2008
|
#8
|
Now I use the following script to read out the data from my GPS logger:
@luxeluxCode:#!/bin/sh BTADDR=00:xx:xx:xx:xx:xx BTdevice=$(dbus-send --system --type=method_call --print-reply \ --dest=com.nokia.btcond /com/nokia/btcond/request \ com.nokia.btcond.request.rfcomm_bind string:$BTADDR string:SPP 2>&1 ) if [ $? != 0 ]; then BTdevice=$(echo ${BTdevice} | cut -d ' ' -f 8-) else BTdevice=$(echo ${BTdevice} | cut -d ' ' -f 7- | tr -d \") fi ./gpsbabel -t -w -i m241 -f $BTdevice -o gpx -F `date +'%Y-%m-%d-%H%M%S'`.gpx
The Qstarz BT1000 is supported by gpsbabel
http://www.gpsbabel.org/htmldoc-deve...t/fmt_mtk.html
I make a bet that it will work
|
2009-08-31
, 21:25
|
Posts: 87 |
Thanked: 56 times |
Joined on Nov 2008
|
#9
|
|
2009-09-12
, 07:47
|
Posts: 6 |
Thanked: 7 times |
Joined on Apr 2009
|
#10
|
I just tried this and got "read_log.sh: line 14: ./gpsbabel: Permission denied." Any suggestions?
BT747 has a command line interface too, so I would suggest that somebody tries to get that running on Maemo to check out the speed of that.
Regarding the download problems with BT747: did you try to adjust the chunk size, read ahead, .... These parameters influence performance on Maemo.
Further, if there is a better connection method on Maemo, that can be taken into account.
The device also does data logging. I'm looking for a way to transfer the binary log files from the GPS receiver to my N810 via Bluetooth.
I don't expect to convert the log files to other formats or do photo-geotagging or other operations on my N810, but I want to store the log files so that they can be processed on a PC at a later time.
There are several programs that talk with the QT-1300, but they all have difficulties on the N810. Some of the issues are: