简体   繁体   English

带有Apple HAP的BLE设备

[英]BLE device with Apple's HAP

I have a Raspberry Pi that acts as a BLE peripheral. 我有一个充当BLE外设的Raspberry Pi。 I want to add Apple's HomeKit Accessory Protocol (HAP) to the Raspberry Pi's BLE code, to control the BLE device using Homekit. 我想将Apple的HomeKit附件协议(HAP)添加到Raspberry Pi的BLE代码中,以使用Homekit控制BLE设备。 I would like to avoid implementing HAP over the internet. 我想避免在互联网上实施HAP。

The closest resource I found is https://gist.github.com/KhaosT/6ff09ba71d306d4c1079 . 我找到的最接近的资源是https://gist.github.com/KhaosT/6ff09ba71d306d4c1079 However, this gist makes it seem like there are many unknowns with that process. 但是,这一要点使该过程似乎有许多未知数。

Does anyone know if this is possible? 有人知道这是否可能吗? If so, any info or resources would be greatly appreciated. 如果是这样,将不胜感激任何信息或资源。 Thanks! 谢谢!

As mentioned at https://developer.apple.com/homekit/ under Accessory Developers, you need to first sign up for MFi and then you will get access to all the resources you need in order to implement homekit. https://developer.apple.com/homekit/在Accessory Developers下的提及,您需要先注册MFi,然后您才能访问实现homekit所需的所有资源。 All source code you can find publicly online is against Apple's license since they prohibit public redistribution of documentation and source code of implementations. 您可以在网上公开找到的所有源代码均违反Apple的许可,因为它们禁止公开分发文档和实现的源代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM