通过蓝牙将 GPS 位置发送到 iOS 设备 [英] Send GPS location to iOS device via bluetooch

查看:18
本文介绍了通过蓝牙将 GPS 位置发送到 iOS 设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在寻找一种通过蓝牙将 GPS 位置发送到 iPhone 或 iPad 的方法.这样做的好处是外部 GPS 设备可以比 iOS 中的内置 GPS 设备产生更准确的位置.出于我们的测试目的,能够由 QA 手动生成 GPS 也将是一件好事.

We are looking for a way to send GPS location to iPhone or iPad through bluetooth. The benefits of doing so is that an external GPS device could produce more accurate location than the build-in GPS device in iOS. For our testing purposes, it would also be nice to be able to produce GPS manually by QAs.

我们很确定这是可能的,但我们不知道怎么做.我们从我们的一位客户那里听说了这种外部 GPS 设备.简单的谷歌搜索我们发现了这个 这个设备,它完全符合我们的要求.

We are pretty sure this is possible but we don't know how. We heard about this kind of external GPS device from one of our customers. Simple googling we found this one this device, which does exactly what we are looking for.

我们知道可以通过 Xcode 使用 GPX 文件生成假 GPS 位置.请参阅此 SO 了解更多详情.但这不是我们要寻找的.我们不想教 QA 如何使用 Xcode 构建和调试.

We know that it is possible to generate fake GPS location using GPX file through Xcode. Please refer to this SO for more details. But this is not what we are looking for. We don't want to teach the QA how to build and debug with Xcode.

简而言之,我们想知道如何通过蓝牙将 GPS 位置发送到 iOS 设备.最终,我们想构建一个简单的应用程序(可能在 Mac 上),我们可以设置一些 GPS 位置进行测试.

PS:一个类似的问题 几年前有人问过,但它似乎已经过时了.此链接解释了 Apple 支持的蓝牙配置文件.但我没有看到任何相关的东西.

P.S.: A similar question was asked a couple of years ago but it seems very much outdated. This link explains the supported supported bluetooth profiles by Apple. But I don't see anything related.

非常感谢任何指向示例代码或文档的链接.谢谢!

Any link to sample code or documentation will be very much appreciated. Thank you!

推荐答案

据我们所知,我们无法通过蓝牙将 GPS 位置发送到我们的设备.Apple 只允许与一小部分已知的蓝牙 GPS 制造商配对.

As far as we know, we are not able to send GPS location to our device via Bluetooth. Apple only allow pairing with a small set of known Bluetooth GPS manufactures.

这篇关于通过蓝牙将 GPS 位置发送到 iOS 设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆