Mercurial > lbo > hg > geohub
view examples/gpsd/runwithgpsd.sh @ 137:7a70fc40f1b3
gpsd: add script
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Thu, 06 May 2021 10:28:35 +0000 |
parents | |
children |
line wrap: on
line source
#!/bin/bash # Example: start gpsd along the gpsd.py script, point the latter at the former, # and wait for NMEA data on UDP port 10001. PORT=2948 UDPADDRESS=10.0.1.1 UDPPORT=10001 gpsd -N udp://${UDPADDRESS}:${UDPPORT} -P /tmp/gpsd${PORT}.pid -S ${PORT} & python gpsd.py \ --geohub_host 127.0.0.80 \ --geohub_scheme http \ --client lbogpsd \ --secret 29482948 \ --interval 0 \ --gpsdport ${PORT}