Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

KlausMu
Copy link

@KlausMu KlausMu commented Oct 15, 2024

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

@wladimir-computin
Copy link

@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