GPS 设备正在发送垃圾数​​据

GPS 设备正在发送垃圾数​​据

我有一台 GPS 设备 BW08C,当我配置 IP 和协议时,它会向服务器发送一些原始垃圾信息。另一方面,当我使用其他 GPS 设备(如 LKGPS LK209)时,它会在 socket.io 服务器上向我提供正确的数据。

root@server:/home/gpsdevice/nodejs-bw08# node example.js
Socket server is ready
Connected to Socket server
Sending GPS data string for processing
CTRL+C to exit
test
f��182D�
f��182DA�
xx
��
f��182D
xx

�/
���182D
xx
��
f��182D%�
xx
f��182DY
xx
NY
f��182D�
xx
^�
f��182DPu
xx
lC
f��182D ��
f��182D
       �/
xx
��
f��182Dʹ
xx
f��182D�
xx
&7
f��182Dro
xx
mK
f��182D��
xx
��
f��182D�
x
f��182D̼
^C

请告诉我这是什么类型的数据,我的 GPS 设备是否有问题或者我不理解数据编码。

相关内容