Re: [Gpsbabel-misc] WBT-201: Initializing bluetooth connection
Brought to you by:
robertl
From: Robert L. <rob...@gp...> - 2010-06-12 21:30:44
|
On Sat, Jun 12, 2010 at 12:10 PM, Al Bogner <gps...@ml...>wrote: > > It looks like there is a problem, if 2 queries are made quickly. > > gpsbabel -t -w -i wbt -f /dev/rfcomm0 -o gpx -F "$GPXFILE" > gpsbabel -t -w -i wbt -f /dev/rfcomm0 -o kml,units=m -F "$KMLFILE" > > $GPXFILE is always ok, $KMLFILE cannot be created most times, but > sometimes. > The device is not found. > ISTR BT devices not liking being closed and opened in rapid succession. You could probably sleep between them and improve your chances of success. But why would you do the slow part of that exercise twice anyway? gpsbabel -t -w -i wbt -f /dev/rfcomm0 -o gpx -F blah.gpx -o kml,units=m -F blah.kml If the destination of this is Google Earth, you know it'll read GPX files, don't you? It actually uses GPSBabel under the hood to convert the GPX to KML. > I think I will stay with USB, because I need USB anyway for recharging > the battery. I said that. :-) RJL |