从后台 iOS 应用程序与 BTLE 设备通信

发布于 2024-12-24 18:59:52 字数 36 浏览 5 评论 0原文

如何在 iOS 5 后台与支持 BTLE 的设备进行通信?

How can one communicate with BTLE enabled devices in the background of iOS 5?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

徒留西风 2024-12-31 18:59:52

上周我有同样的问题(问题),有人给了我答案。这是可能的,为此,您需要将以下设置添加到 info.plist 文件中:

UIBackgroundModes(或必需的背景模式)-> “蓝牙中央”

I had the same question (issue) last week and someone gave me the answer. It is possible, and to do so, you need to add the following setting to you info.plist file:

UIBackgroundModes (or Required background modes) -> "bluetooth-central"

耳钉梦 2024-12-31 18:59:52

这并不是你所看到的问题的真正答案,但我正在考虑做同样的事情,并发现了以下要求(这使我放弃使用它):

这是 ios 5.0 SDK 的一部分

该支持仅适用于蓝牙 4.0设备,即目前仅限 iPhone 4S 以及支持该设备的设备,即。因此可以附加蓝牙4.0标准。

仅供参考..
一些参考

This is not really an answer to your question per see, but I was thinking of doing the same and found out the following requirements ( which drove me away from using it):

This is part of ios 5.0 SDK

The support is only for Bluetooth 4.0 devices, ie iPhone 4S only right now and for devices that support that, ie. consequently can attach to bluetooth 4.0 standard.

Just fyi..
Some Reference .

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文