From fa3a378eca33f19f02d12237d96a62baecb7a841 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 12 Oct 2017 22:02:39 +0700 Subject: [PATCH] add more HAP UUID --- libraries/BLEHomekit/HapUuid.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/libraries/BLEHomekit/HapUuid.h b/libraries/BLEHomekit/HapUuid.h index 3fc8e221..6567e614 100644 --- a/libraries/BLEHomekit/HapUuid.h +++ b/libraries/BLEHomekit/HapUuid.h @@ -36,6 +36,15 @@ #ifndef HAPUUID_H_ #define HAPUUID_H_ +/*------------------------------------------------------------------*/ +/* PAIRING + *------------------------------------------------------------------*/ +#define HAP_UUID_SVC_PAIRING ((const uint8_t[]) { 0x91, 0x52, 0x76, 0xBB, 0x26, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x55, 0x00, 0x00, 0x00 }) +#define HAP_UUID_CHR_PAIR_SETUP ((const uint8_t[]) { 0x91, 0x52, 0x76, 0xBB, 0x26, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x4C, 0x00, 0x00, 0x00 }) +#define HAP_UUID_CHR_PAIR_VERIFY ((const uint8_t[]) { 0x91, 0x52, 0x76, 0xBB, 0x26, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x4E, 0x00, 0x00, 0x00 }) +#define HAP_UUID_SVC_PAIR_FEATURE ((const uint8_t[]) { 0x91, 0x52, 0x76, 0xBB, 0x26, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x4F, 0x00, 0x00, 0x00 }) +#define HAP_UUID_SVC_PAIR_PAIRING ((const uint8_t[]) { 0x91, 0x52, 0x76, 0xBB, 0x26, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00 }) + /*------------------------------------------------------------------*/ /* Apple-defined Services *------------------------------------------------------------------*/ @@ -187,6 +196,10 @@ #define HAP_UUID_CHR_COLOR_TEMP ((const uint8_t[]) { 0x91, 0x52, 0x76, 0xBB, 0x26, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xCE, 0x00, 0x00, 0x00 }) +#define HAP_UUID_CHR_SERVICE_ID ((const uint8_t[]) { 0xD1, 0xA0, 0x83, 0x50, 0x00, 0xAA, 0xD3, 0x87, 0x17, 0x48, 0x59, 0xA7, 0x5D, 0xE9, 0x04, 0xE6 }) +#define HAP_UUID_CHR_CHARACTERISTIC_ID ((const uint8_t[]) { 0x9A, 0x93, 0x96, 0xD7, 0xBD, 0x6A, 0xD9, 0xB5, 0x16, 0x46, 0xD2, 0x81, 0xFE, 0xF0, 0x46, 0xDC }) +#define HAP_UUID_CHR_SERVICE_SIGNATURE ((const uint8_t[]) { 0x91, 0x52, 0x76, 0xBB, 0x26, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0xA5, 0x00, 0x00, 0x00 }) + /*------------------------------------------------------------------*/ /* Characteristics *------------------------------------------------------------------*/