# Default settings for the gpsd init script and the hotplug wrapper.
# Assumes local device.
#
# Last update: 12/2/2019
#
# To stop or restart :
#    sudo systemctl stop gpsd
#    sudo systemctl stop gpsd.socket
#    sudo systemctl restart gpsd
#
#  Or...  sudo /etc/init.d/gpsd restart
#
#                          gpsd status
#
# Start the gpsd daemon automatically at boot time
#
START_DAEMON="true"

# Use USB hotplugging to add new USB devices automatically to the daemon
USBAUTO="true"

# Other options you want to pass to gpsd
REMOTE_TCP_FEED=" tcp://develgw2.cs.clemson.edu:2947 "
REMOTE_UDP_FEED=" udp://develgw2.cs.clemson.edu:2947 "
REMOTE_GPSD_FEED=" gpsd://develgw2.cs.clemson.edu:2947 "


#For local gps device
DEVICES=" /dev/ttyUSB0 "
GPSD_OPTIONS=" -nbGN "
GPSD_SOCKET="-F /var/run/gpsd.sock"

#For remote gps device
#DEVICES=" $REMOTE_GPSD_FEED "
#GPSD_OPTIONS="-S 2948  -nbGN "
#GPSD_SOCKET=" -F /var/run/gpsd.sock"
