View Single Post
speculatrix's Avatar
Posts: 880 | Thanked: 264 times | Joined on Feb 2007 @ Cambridge, UK
#4
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
 

The Following User Says Thank You to speculatrix For This Useful Post: