Merge pull request #14818 from Jason2866/Homekit

Integrate Homekit in Bluetooth configuration
This commit is contained in:
Theo Arends 2022-02-13 11:07:30 +01:00 committed by GitHub
commit bfdd0b698f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View File

@ -1049,8 +1049,4 @@
#define USE_TLS // flag indicates we need to include TLS code
#endif // USE_MQTT_TLS
#if(USE_MI_HOMEKIT != 1) // Enable(1)/ Disable(0) Homekit, only for the .c-file
#undef USE_MI_HOMEKIT
#endif //USE_MI_HOMEKIT
#endif // _TASMOTA_CONFIGURATIONS_H_

View File

@ -78,10 +78,16 @@
#define USE_ADC
//#undef USE_BERRY // Disable Berry scripting language
#define USE_BLE_ESP32 // Enable new BLE driver
#define USE_EQ3_ESP32
#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
#define USE_MI_EXT_GUI //enable dashboard style GUI
#if defined(USE_MI_HOMEKIT) // Switch between Homekit and full BLE driver
#define USE_MI_ESP32
#if(USE_MI_HOMEKIT != 1) // Enable(1)/ Disable(0) Homekit, only for the .c-file
#undef USE_MI_HOMEKIT
#endif // disable USE_MI_HOMEKIT
#else
#define USE_BLE_ESP32 // Enable full BLE driver
#define USE_EQ3_ESP32
#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
#endif // enable USE_MI_HOMEKIT
#endif // FIRMWARE_BLUETOOTH