我正在尝试通过连接 GPS 模块来同步时间。我已经使用 USB 端口检查了时间同步。
但是,当我尝试将 GPS 模块连接到 Raspberry 设备上的串行端口时,它无法启动(在 Raspberry 设备上加载 ubuntu),启动后,将 GPS 模块连接到串行端口,它会从 dmesg 中出来,如下所示。
2031.019236] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2031.221116] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2031.228329] ttyS ttyS0: 8 input overrun(s)
[ 2031.228368] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2031.241763] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2031.454953] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2031.931220] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2031.952123] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2032.269392] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2032.276590] ttyS ttyS0: 4 input overrun(s)
[ 2032.346935] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2057.431690] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2057.438903] ttyS ttyS0: 2 input overrun(s)
[ 2057.462867] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2057.470119] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2057.494830] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2057.502074] Bluetooth: hci0: Malicious advertising data. Stopping processing
[ 2057.509272] Bluetooth: hci0: Malicious advertising data. Stoppin
基本上ble扫描都在运行,为什么采集不到串口数据,是不是和ble扫描操作有冲突?
Ubuntu 操作系统:
user@ubuntu:~$ hostnamectl
Static hostname: ubuntu
Icon name: computer
Machine ID: efe379259a0b4420aca69ae4f842f8ba
Boot ID: 50619f4f4639480b9c42cdb59a15e2e3
Operating System: Ubuntu 20.04.4 LTS
Kernel: Linux 5.4.0-1056-raspi
Architecture: arm64