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

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

问题描述

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



我们确信这是可能的,但我们不知道如何。我们从我们的客户那里听说过这种外部GPS设备。简单的谷歌搜索,我们发现这一个这个设备,这正是我们正在寻找的。

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

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

PS:一对夫妇问了一个问题几年前,但它似乎非常过时。此链接解释了Apple支持的受支持蓝牙配置文件。但我没有看到任何相关的东西。

任何代码或文档链接都将非常感谢。谢谢!

解决方案

据我们所知,我们无法通过蓝牙将GPS位置发送到我们的设备。苹果只允许与一小部分已知的蓝牙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.

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.

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.

In a nutshell, we want to know how to send GPS location to iOS device via bluetooth. Eventually, we would like to build a simple app (maybe on Mac) and we can set up some GPS locations for testing.

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!

解决方案

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.

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

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