mirror of https://github.com/arendst/Tasmota.git
Merge pull request #14818 from Jason2866/Homekit
Integrate Homekit in Bluetooth configuration
This commit is contained in:
commit
bfdd0b698f
|
@ -1049,8 +1049,4 @@
|
||||||
#define USE_TLS // flag indicates we need to include TLS code
|
#define USE_TLS // flag indicates we need to include TLS code
|
||||||
#endif // USE_MQTT_TLS
|
#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_
|
#endif // _TASMOTA_CONFIGURATIONS_H_
|
||||||
|
|
|
@ -78,10 +78,16 @@
|
||||||
|
|
||||||
#define USE_ADC
|
#define USE_ADC
|
||||||
//#undef USE_BERRY // Disable Berry scripting language
|
//#undef USE_BERRY // Disable Berry scripting language
|
||||||
#define USE_BLE_ESP32 // Enable new BLE driver
|
#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_EQ3_ESP32
|
||||||
#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
|
#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
|
#endif // enable USE_MI_HOMEKIT
|
||||||
|
|
||||||
#endif // FIRMWARE_BLUETOOTH
|
#endif // FIRMWARE_BLUETOOTH
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue