【问题标题】:get GPS coordinates via bluetooth with python on OSX在 OSX 上使用 python 通过蓝牙获取 GPS 坐标
【发布时间】:2023-03-17 03:41:01
【问题描述】:

我刚买了一个 GPS 蓝牙接收器,它已与我的 OSX 机器正确配对。现在我想用 python 查询我的位置。我该怎么做?

【问题讨论】:

    标签: python bluetooth geolocation gps


    【解决方案1】:

    我假设您的 GPS 接收器通过虚拟 COM 端口工作,因此它独立于蓝牙。

    这些库可能会对您有所帮助:

    【讨论】:

      【解决方案2】:

      通过虚拟 COM 端口,您可以将此脚本与 NMEA 0183 协议 http://miguellopes.net/bluetooth-gps-python/ 一起使用(它是葡萄牙语,但谷歌翻译可以在那里为您提供帮助)

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2019-10-11
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多