
私は GPS デバイス BW08C を持っていますが、IP とプロトコルを設定すると、サーバーに生のジャンクが送信されます。一方、LKGPS LK209 などの他の GPS デバイスを使用すると、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 デバイスに問題があるのか、それともデータのエンコードが理解できないのか教えてください。