Memo

lier un gps bluetooth à un tty (0 étant le channel: /dev/rfcomm0 )

sudo rfcomm connect 0 00:0B:0D:17:A5:98

si connexion impossible: check si connexion ouverte rfcomm -a check si channel use: sudo lsof | grep /dev/rfcomm0 puis fermer appli * release la ressource rfcomm release 00:0B:0D:17:A5:98

diffuser les données de tty

Éditer: /etc/default/gpsd

# Default settings for the gpsd init script and the hotplug wrapper.
# Start the gpsd daemon automatically at boot time
START_DAEMON="true"
# Use USB hotplugging to add new USB devices automatically to the daemon
USBAUTO="false"
# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
# 0 étant le channel vu plus haut    
DEVICES="/dev/rfcomm0"
# Other options you want to pass to gpsd
GPSD_OPTIONS="-b -n"
GPSD_SOCKET="/var/run/gpsd.sock"

par default diffuse sur le 2847

visualiser les data gps

cg

ps