项目作者: luigifcruz

项目描述 :
ESP8266 HomeKit Accessory Implementation based on FreeRTOS.
高级语言: C
项目地址: git://github.com/luigifcruz/ESP8266-RTOS-HomeKit.git
创建时间: 2017-06-23T21:29:03Z
项目社区:https://github.com/luigifcruz/ESP8266-RTOS-HomeKit

开源协议:MIT License

下载


ESP8266 RTOS HomeKit Accessory (Work In Progress)

Native Apple’s HomeKit Accessory Implementation for the ESP8266 based on FreeRTOS (esp-open-rtos). Updates about the development are available at DEVELOPMENT.md file.

Required Functions

  • mDNS TXT Discovery.
  • TLV Decode/Encode.
  • Pairing Step M1-M2.
  • Pairing Step M3-M4.
  • Pairing Step M5-M6.
  • Pair Verify M1-M2 & M3-M4.
  • Add Pairing.
  • Remove Pairing.
  • List Pairing.

Example Output

Output Pairing Step M1-M2.

  1. [TCP] New client connected!
  2. [TCP] Request received.
  3. [DEBUG] Header have 119 bytes.
  4. [DEBUG] Payload have 6 bytes.
  5. 0x00 0x01 0x00 0x06 0x01 0x01
  6. [TLV] Tag received: Pairing method.
  7. [TLV] Tag received: Pairing process (M1)!
  8. [TCP] Writing payload with 409 bytes.
  9. [TCP] Response sent!
  10. [TCP] Client disconnected...

Thanks

  1. Nordic nRF51 HomeKit Library - With some modifications this library worked very well for the ESP8266. In this project, it handles the Crypto Stuff (TLV Encoding/Decoding and SRP Protocol) required by HomeKit. Big thanks to Aanon4.

  2. TweetNaCl - Crypto SHA512 & Curve.