mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-05-11 03:48:16 +05:00
refactor: BLE scanning instead of connecting to BLE devices (#243)
* refactor: passive scan instead of connecting to BLE devices * refactor: increased disconnected timeout for sensors * fix: build for nodemcu32, c3, c6 boards; formatting ``platformio.ini`` * refactor: decreased interval and window for scanning BLE * refactor: active + passive BLE scanning * refactor: reduced tasks stack size * style: formatting * refactor: improved OTA upgrade https://github.com/ESP32Async/ESPAsyncWebServer/pull/329 * chore: fix dependencies * chore: reformat `platformio.ini` * chore: dependencies fixed * feat: added support BTHome v2 format for BLE sensors #215 * refactor: cosmetic changes * fix: move OpenThermTask to 0 core * chore: minimizing flash size with NimBLE * chore: dependencies updated
This commit is contained in:
+7
-4
@@ -4,12 +4,12 @@ extra_configs = secrets.default.ini
|
||||
core_dir = .pio
|
||||
|
||||
[env]
|
||||
version = 1.6.0-async
|
||||
version = 1.6.0-passiveble
|
||||
framework = arduino
|
||||
lib_deps = ESP32Async/AsyncTCP@^3.4.10
|
||||
ESP32Async/ESPAsyncWebServer@^3.9.4
|
||||
mathieucarbou/MycilaWebSerial@^8.2.0
|
||||
bblanchon/ArduinoJson@^7.4.2
|
||||
ESP32Async/ESPAsyncWebServer@^3.11.0
|
||||
mathieucarbou/MycilaWebSerial@^8.2.3
|
||||
bblanchon/ArduinoJson@^7.4.3
|
||||
;ihormelnyk/OpenTherm Library@^1.1.5
|
||||
https://github.com/Laxilef/opentherm_library#esp32_timer
|
||||
arduino-libraries/ArduinoMqttClient@^0.1.8
|
||||
@@ -103,6 +103,9 @@ extra_scripts = pre:tools/add_build_commit.py
|
||||
post:tools/build.py
|
||||
build_type = ${env.build_type}
|
||||
build_flags = ${env.build_flags}
|
||||
-D MYNEWT_VAL_BLE_MAX_CONNECTIONS=1
|
||||
-D MYNEWT_VAL_BLE_STORE_MAX_BONDS=1
|
||||
-D MYNEWT_VAL_BLE_ROLE_CENTRAL=0
|
||||
-D CORE_DEBUG_LEVEL=0
|
||||
-Wl,--wrap=esp_panic_handler
|
||||
check_tool = ${env.check_tool}
|
||||
|
||||
Reference in New Issue
Block a user