DavesCodeMusings / BLE-Battery-Beacon

A proof of concept for using custom Bluetooth Low Energy devices to integrate with Home Assistant
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Only enters deep sleep when client is connected #2

Closed DavesCodeMusings closed 2 weeks ago

DavesCodeMusings commented 2 weeks ago

The check of the countdown is inside the while (central.connected()) loop, which makes it impossible to sleep unless a client is connected.

DavesCodeMusings commented 2 weeks ago

Fixed in proof_of_concept_2.ino