update ble lib

This commit is contained in:
technyon
2022-04-02 13:59:10 +02:00
parent 4bc07356a0
commit 8b1c5ddf5e
9 changed files with 57 additions and 55 deletions

View File

@@ -1,5 +1,5 @@
#include "Arduino.h"
#include "Nuki.h"
#include "NukiWrapper.h"
#include "Network.h"
#include "WebCfgServer.h"
#include <FreeRTOS.h>
@@ -8,7 +8,7 @@
Network* network;
WebCfgServer* webCfgServer;
Nuki* nuki;
NukiWrapper* nuki;
Preferences* preferences;
void networkTask(void *pvParameters)
@@ -39,7 +39,7 @@ void setup()
preferences = new Preferences();
preferences->begin("nukihub", false);
network = new Network(preferences);
nuki = new Nuki("Main Door", 2020001, network, preferences);
nuki = new NukiWrapper("Main Door", 2020001, network, preferences);
webCfgServer = new WebCfgServer(nuki, network, preferences);
network->initialize();