From: "Brad Midgley" <bmidgley@gmail.com>
To: arimo@iki.fi, "BlueZ users" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Emulating a gps receiver
Date: Mon, 7 Apr 2008 08:35:29 -0600 [thread overview]
Message-ID: <d89ddf300804070735n2f107af4ge23848cc96f7ff20@mail.gmail.com> (raw)
In-Reply-To: <200804070956.23449.aklists@mixdown.ca>
Guys
If you set up gpsd, you can do this in a straightforward way, assuming
rfcomm0 is available:
sdptool add SP
rfcomm -r watch 0 1 sh -c "gpspipe -r >/dev/rfcomm0" &
the first command advertises a serial port on channel 1, the second
sets up a listener that will repeat the nmea stream over channel 1
whenever someone connects on it.
there may be ways to make gpsd put out a pre-recorded stream, or you
could write your own app that runs in place of gpspipe and slowly
sends out your nmea log in eg 1-second intervals.
Andrew's device class suggestion may be required for some devices, but
I didn't need it for a pocketpc or my n800.
Brad
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2008-04-07 14:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.64.0804071115190.866@arimo.local>
2008-04-07 13:56 ` [Bluez-users] Emulating a gps receiver Andrew Kohlsmith (lists)
2008-04-07 14:35 ` Brad Midgley [this message]
2008-04-07 19:00 ` Ari Moisio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d89ddf300804070735n2f107af4ge23848cc96f7ff20@mail.gmail.com \
--to=bmidgley@gmail.com \
--cc=arimo@iki.fi \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox