iPhone - 可以从非 MFI 蓝牙设备检测蓝牙 ID 吗?
我想将蓝牙设备放置在不同的位置,并在手机进入每个位置时进行记录。我意识到 iphone 只能连接到 mfi 设备,但它能找到非 mfi 的设备 ID 吗?
如果有办法的话,这个能通过苹果app审核吗?我需要这个应用程序才能进入应用程序商店。
I want to place bluetooth devices in different locations and record when the phone gets into each's range. I realize iphone can only connect to mfi devices but can it find out a device id for non-mfi??
If there is a way, would this pass apples app review? I need this app to be able to get into the app store.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,如果您的 iPhone 启用了蓝牙,其他设备就可以连接到它。特别是,他们可以执行 SDP 查询(或远程名称请求,甚至 RFCOMM 连接)。
或者,如果手机处于蓝牙可发现模式,其他设备可以进行设备发现(查询)来找到它。 (锁定时手机是否处于可发现模式?)
Yup, if you have Bluetooth enabled on the iPhone other devices can connect to it. In particular they could do SDP queries (or Remote Name Requests or even a RFCOMM connect).
Or if the phone is in Bluetooth discoverable mode the other devices could do device discovery (inquiry) to find it. (Does the phone stay in discoverable mode when locked?)
从您的问题中尚不完全清楚您是否想要 iPhone 应用程序来检测设备,或者设备来检测手机。
如果您考虑的是前者,那么您的需求正是 BtLE(蓝牙 4.0/Smart/LE)广告功能的用途。 Apple 的 iBeacon 技术就是这样的实现,或者您也可以推出自己的技术。它将允许您在 4S、5 和最新 iPad 上运行的 iOS6+ 应用程序中进行细粒度定位。 BtLE 广告检测应用程序将轻松通过应用程序商店指南。
从另一个方向来看,具有 BT 2.x - 4.x 无线电、Wi-Fi 无线电或各种扫描仪和软件无线电的设备将能够检测手机、平板电脑和其他配备无线电的设备。能发现多少,差异很大。
It's not entirely clear from your question whether you want an iPhone app to detect the devices, or the devices to detect the phone.
If you have the former in mind, your requirement is exactly what BtLE's (Bluetooth 4.0/Smart/LE) advertising capability is for. Apple's iBeacon technology is such an implementation, or you might roll your own. It'll allow you to do fine grained location in an iOS6+ app running on 4S, 5, and recent iPads. BtLE advertisement detecting apps will easily pass App store guidelines.
From the other direction, devices with BT 2.x - 4.x radios, or with wifi radios, or with various scanners and software radios, will be able to detect mobile phones, tablets, and other radio equipped devices. How much can be discovered is wildly variable.