iOS 中的蓝牙 LE 和 ANCS [英] Bluetooth LE and ANCS in iOS

查看:41
本文介绍了iOS 中的蓝牙 LE 和 ANCS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能否在 iOS 上开发一项服务来注册 ANCS,以便当 iPhone 收到通知时,该服务通过我的设备 BT LE 协议通知乐队?我在 http://blog.punchthrough.com/post/63658238857/the-apple-notification-center-service-or-wtf-is.我看到ANCS 由 iOS 设备自动管理,或者在 ANCS 的说法中称为通知提供程序".这对您作为开发人员来说意味着您不需要编写代码来管理 iOS 端的 ANCS."这意味着我不需要在 iOS 端编写必须在我的设备 BT LE 中实现的代码?感谢您的回答.

Can I develop a service on iOS to register with ANCS so that when iPhone gets a notification the service go through my device BT LE protocol to notify the band? And I read at http://blog.punchthrough.com/post/63658238857/the-apple-notification-center-service-or-wtf-is. I see "ANCS is managed automatically by the iOS device, or "Notification Provider" as its known in ANCS parlance. What this means for you as a developer is that you won’t need to write code to manage ANCS on the iOS side." It means i don't need write code in iOS side that have to implement in my device BT LE ? Thanks for any answer.

推荐答案

正确.正如链接所提到的,您可以使用服务请求"在被动扫描时引起 iOS 设备的注意.您无需在 iOS 设备上运行应用程序,无需向 App Store 提交任何内容——您甚至无需付费即可成为开发人员.另外,我应该提一下,您的硬件设计不需要提交给 Apple MFi 计划.

Correct. As the link mentions, you use "service solicitation" to get the iOS device's attention while it is passively scanning. You don't need to have an app running on the iOS device, you don't need to submit anything to the App Store--you don't even need to pay to become a developer. Also, I should mention, your hardware design does not need to be submitted to the Apple MFi program.

这篇关于iOS 中的蓝牙 LE 和 ANCS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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