View Single Post
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#8
Originally Posted by chemist View Post
sorry again I changed the question in brainstorm and my solution

I also think there is no need for a whole setup GUI, just two functional buttons, one at the USB ack screen and one in the GPS settings or BT settings to share via BT... well and a button to stop sharing
Thanks. A checkbox would do it, I guess.

Here suggestion for implementation:

# On GPS device running Linux. 2 examples using BlueZ. Configation file /etc/bluetooth/rfcomm.conf examples use rfcomm4, channel 4 to avoid interference with existing rfcomm configuration.

# Example 1. Requires client with GPS daemon.

rfcomm4 {
listen rfcomm4 4 screen /dev/gps 112500
channel 4;
comment "External GPS";
}

# Example 2. Does not require GPS daemon; raw GPS data.

rfcomm4 {
listen rfcomm4 4 gpsd -n /dev/gps
channel 4;
comment "External GPS";
}

The client either:

1) runs GPSD with source rfcomm4 channel 4. Example: http://www.justuber.com/blog/2007/10...-ubuntu-gutsy/
2) configure rfcomm4 channel 4, tell GPS client to use /dev/rfcomm4 as GPS input data instead of default (probably /dev/gps or 127.0.0.1:2947)
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!