add GPIO output for bluetooth communication error (#701)

This commit is contained in:
Jan-Ole Schümann
2025-10-02 21:25:04 +07:00
committed by GitHub
parent 7933b412f1
commit a12a166734
6 changed files with 43 additions and 2 deletions

View File

@@ -48,6 +48,8 @@ public:
const std::string firmwareVersion() const;
const std::string hardwareVersion() const;
void setCommErrorPins(const uint8_t& value);
void notify(Nuki::EventType eventType) override;
private:
@@ -91,6 +93,9 @@ private:
NukiNetworkLock* _network = nullptr;
NukiOfficial* _nukiOfficial = nullptr;
Gpio* _gpio = nullptr;
std::vector<uint8_t> _pinsCommError;
Preferences* _preferences;
int _intervalLockstate = 0; // seconds
int _intervalHybridLockstate = 0; // seconds