You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build the Tasmota firmware with both BLE and Open Therm enabled:
#define USE_OPENTHERM
#undef USE_IBEACON
#define USE_BLE_ESP32 // Enable new BLE driver
#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
I got following error output. I was trying to fix it with the namespaces, but failed. Any suggestions how to avoid the naming conflict ?
Compiling .pio/build/tasmota32/src/tasmota.ino.cpp.o
In file included from /workspace/Tasmota/tasmota/xsns_69_opentherm.ino:24:0:
lib/lib_div/OpenTherm-0.9.0/src/OpenTherm.h:30:20: error: redeclaration of 'READ'
READ = READ_DATA, // for backwared compatibility
^
In file included from lib/libesp32_div/NimBLE-Arduino/src/NimBLEService.h:24:0,
from lib/libesp32_div/NimBLE-Arduino/src/NimBLEServer.h:26,
from lib/libesp32_div/NimBLE-Arduino/src/NimBLEDevice.h:35,
from /workspace/Tasmota/tasmota/xdrv_79_esp32_ble.ino:148:
lib/libesp32_div/NimBLE-Arduino/src/NimBLECharacteristic.h:29:5: note: previous declaration 'NIMBLE_PROPERTY READ'
READ = BLE_GATT_CHR_F_READ,
^
In file included from /workspace/Tasmota/tasmota/xsns_69_opentherm.ino:24:0:
lib/lib_div/OpenTherm-0.9.0/src/OpenTherm.h:32:20: error: redeclaration of 'WRITE'
WRITE = WRITE_DATA, // for backwared compatibility
^
In file included from lib/libesp32_div/NimBLE-Arduino/src/NimBLEService.h:24:0,
from lib/libesp32_div/NimBLE-Arduino/src/NimBLEServer.h:26,
from lib/libesp32_div/NimBLE-Arduino/src/NimBLEDevice.h:35,
from /workspace/Tasmota/tasmota/xdrv_79_esp32_ble.ino:148:
lib/libesp32_div/NimBLE-Arduino/src/NimBLECharacteristic.h:33:5: note: previous declaration 'NIMBLE_PROPERTY WRITE'
WRITE = BLE_GATT_CHR_F_WRITE,
The text was updated successfully, but these errors were encountered:
Hi all,
I'm trying to build the Tasmota firmware with both BLE and Open Therm enabled:
#define USE_OPENTHERM
#undef USE_IBEACON
#define USE_BLE_ESP32 // Enable new BLE driver
#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
I got following error output. I was trying to fix it with the namespaces, but failed. Any suggestions how to avoid the naming conflict ?
Compiling .pio/build/tasmota32/src/tasmota.ino.cpp.o
In file included from /workspace/Tasmota/tasmota/xsns_69_opentherm.ino:24:0:
lib/lib_div/OpenTherm-0.9.0/src/OpenTherm.h:30:20: error: redeclaration of 'READ'
READ = READ_DATA, // for backwared compatibility
^
In file included from lib/libesp32_div/NimBLE-Arduino/src/NimBLEService.h:24:0,
from lib/libesp32_div/NimBLE-Arduino/src/NimBLEServer.h:26,
from lib/libesp32_div/NimBLE-Arduino/src/NimBLEDevice.h:35,
from /workspace/Tasmota/tasmota/xdrv_79_esp32_ble.ino:148:
lib/libesp32_div/NimBLE-Arduino/src/NimBLECharacteristic.h:29:5: note: previous declaration 'NIMBLE_PROPERTY READ'
READ = BLE_GATT_CHR_F_READ,
^
In file included from /workspace/Tasmota/tasmota/xsns_69_opentherm.ino:24:0:
lib/lib_div/OpenTherm-0.9.0/src/OpenTherm.h:32:20: error: redeclaration of 'WRITE'
WRITE = WRITE_DATA, // for backwared compatibility
^
In file included from lib/libesp32_div/NimBLE-Arduino/src/NimBLEService.h:24:0,
from lib/libesp32_div/NimBLE-Arduino/src/NimBLEServer.h:26,
from lib/libesp32_div/NimBLE-Arduino/src/NimBLEDevice.h:35,
from /workspace/Tasmota/tasmota/xdrv_79_esp32_ble.ino:148:
lib/libesp32_div/NimBLE-Arduino/src/NimBLECharacteristic.h:33:5: note: previous declaration 'NIMBLE_PROPERTY WRITE'
WRITE = BLE_GATT_CHR_F_WRITE,
The text was updated successfully, but these errors were encountered: