我正在查看Stackoverflow和整个互联网,以便能够通过共享iPhone的Wi设置,在零配置模式下配置外部设备的Wi。这个新设备是我想要编程的arduino设备。
我试着用苹果的HomeKit设备做同样的事情。当我们想配置一个新的HomeKit设备来连接我们的Wi时,我们必须执行以下步骤:
所有这一切肯定是一个标准的协议,我正在寻找如何配置arduino,以便我可以创建一个特殊的ad网络(什么与bonjour?)并且能够从iPhone (一些标准函数?)接收配置。
有人知道如何配置我的新设备,以便iOS将其识别为要配置的新设备吗?




发布于 2018-11-14 23:40:23
您正在描述无线附件配置(WAC)。要使用这一技术,您必须加入Apple MFi程序,并在嵌入式设备中实现特定的硬件。
更多信息可以在这个technote中获得。
- Wireless Accessory Configuration (WAC) — To learn more about WAC, watch [WWDC 2013 Session 700 Designing Accessories for iOS and OS X](https://developer.apple.com/videos/play/wwdc2013/700/), which introduced the technology, and [WWDC 2014 Session 701 Designing Accessories for iOS and OS X](https://developer.apple.com/videos/play/wwdc2014/701/), which describes enhancements made in iOS 8 that let you configure a WAC accessory from within your app.
- HomeKit — You can ask the system to scan for, pair and configure any unpaired HomeKit accessories by calling the `addAndSetupAccessories(completionHandler:)` method on `HMHome`. To learn more about this, watch [WWDC 2016 Session 710 What’s New in HomeKit](https://developer.apple.com/videos/play/wwdc2016/710/).
重要: WAC和HomeKit配件都必须在 MFi程序的支持下制造。
https://stackoverflow.com/questions/53310222
复制相似问题