View Single Post
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#6
Originally Posted by speculatrix View Post
I would guess that you need to do the following (I don't have an n810 or anything similar)

basically, make a script that "listens" to rfcomm on the tablet and then reads from /dev/gps writing to the bluetooth virtual serial device.. something like this

rfcomm listen 0 "cat /dev/gps > /dev/rfcomm0"


you might need to put the "cat" command into a shell script, e.g.
Code:
$ cat > gps_to_rfcomm
#!/bin/bash
cat /dev/gps > /dev/rfcomm0
^D
$ chmod ugo+x gps_to_rfcomm
$ rfcomm listen 0 gps_to_rfcomm
Device /dev/gps doesn't exist but /dev/pgps does, I changed it and tried Nokia Maps 2.0 on my E51 but no avail .

It seems that the channel needs to be specified as well, does anyone know what is the common channel for this service?

Better yet if someone would post the SDP record for the GPS service on some device so that the UUID of this service could be registered on a certain port and a phone or whatever would find it .

So theoretically its possible.
__________________
Regards,
LoCusF
http://locusf.blogspot.com