Skip to content

use of NimBLE, to keep BLE and WiFi connected at the same time#24

Open
KlausMu wants to merge 6 commits into
lumokitho:masterfrom
KlausMu:master
Open

use of NimBLE, to keep BLE and WiFi connected at the same time#24
KlausMu wants to merge 6 commits into
lumokitho:masterfrom
KlausMu:master

Conversation

@KlausMu

@KlausMu KlausMu commented Oct 15, 2024

Copy link
Copy Markdown

Changes in this fork compared to https://github.com/lumokitho/

  • NimBLE is used as bluetooth stack. With this, both WiFi and BLE can be active at the same time
  • some smaller changes in the eQ3 library to improve stability (see here and here)
  • in file main.cpp
    • WiFi is kept active
    • BLE connection to the keylock is kept active. Doing so, the keylock stays very responsive, but drains more battery
    • use of a hardware button connected to GPIO is commented out, because it constantly triggered if no button was connected to the GPIO
  • Libraries "ArduinoJson", "AutoConnect", "PageBuilder", and "PubSubClient" are no longer saved as copies in folder "lib", but latest versions are retrieved from GitHub
  • esp32 partition table partitions_ble.csv was removed (was no longer valid) and replaced with min_spiffs.csv (because of size of the firmware)

Please also see this discussion
#21

@wischbgr

Copy link
Copy Markdown

@KlausMu

Thanks for your work! I think you can retain OTA using board_build.partitions = min_spiffs.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants