does kind of work

This commit is contained in:
2022-04-18 14:16:30 +02:00
parent 8e10db0736
commit a857cb7bb4
2 changed files with 40 additions and 5 deletions

View File

@@ -4,10 +4,10 @@
// Door switch pin
#define SWITCH_PIN 2
BLEService switchService("180A"); // BLE Switch Service
BLEService switchService("1811"); // BLE Switch Service
// BLE Switch Characteristic - custom 128-bit UUID, read by central
BLEByteCharacteristic switchCharacteristic("1234", BLERead | BLEIndicate);
BLEByteCharacteristic switchCharacteristic("2AE2", BLERead | BLEIndicate);
void setup()
{