PHP : Access to Bluetooth GPS via Serial Port (SPP) COM3

时间秒杀一切 提交于 2019-12-13 16:13:05

问题


how can I access to my Bluetooth GPS via Standard Serial Port (SPP) using PHP in Windows ? Thanks.


回答1:


Here is a Windows extension for serial data:

http://www.easyvitools.com/phpserial/index.html

This class might be a bit more cross platform:

http://www.phpclasses.org/package/3679-PHP-Communicate-with-a-serial-port.html

Then I'd suggest reading about the NMEA protocol:

http://en.wikipedia.org/wiki/NMEA_0183



来源:https://stackoverflow.com/questions/3691783/php-access-to-bluetooth-gps-via-serial-port-spp-com3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!