Smartphone-Companions / ESP32-ANCS-Notifications

Easy-to-use Arduino library for interfacing an ESP 32 with Bluetooth LE ANCS mobile device notifications.
GNU General Public License v3.0
151 stars 24 forks source link

Add battery level indication? #10

Open ryancole38 opened 4 years ago

ryancole38 commented 4 years ago

First of all, thanks for doing this. I've been trying to create something like this for a while, and this library works much better than anything I've managed to cobble together.

Would it be possible to add a phone battery level to the library? I understand that a notifications library might not be the best home for battery level, but I'd wager that anyone making a smartwatch-esque device with this library would probably want to know that. Adding it here would be a lot more convenient having to manage two separate Bluetooth clients.

Thanks again, and I'd love to help out in any way that I can (although C++/C is not my strong suit).

Louis467 commented 5 months ago

I'd also like to find a way to see phone battery level as well as adding time sync for esp32 watches. Gadgetbridge seems like a good way to do this but other repos i've viewed have code too complicated to port. Although it might be better to create a new repo for this