我们通过UART将L89 GNSS模块连接到处理器。我可能在板上运行了gpsmon
和gpspipe
命令,但没有获取NMEA日志。但是,当我们通过USB将L89连接到处理器时,那一次我在NMEA上登录gpsmon
和gpspipe
时,UART有什么问题?
我编辑 / etc / default / gpsd 文件。
# Default settings for gpsd.
# Please do not edit this file directly - use `dpkg-reconfigure gpsd' to
# change the options.
START_DAEMON="true" command to continue
GPSD_OPTIONS=""
DEVICES="/dev/ttyS1"
USBAUTO="false"
GPSD_SOCKET="/var/run/gpsd.sock"
但是我没有使用gpsd
...获取NMEA数据...