crownstone / crownstone-microapp

Crownstone microapp. Contains several examples and library to communicate with bluenet.
Apache License 2.0
2 stars 6 forks source link

Add power usage and presence classes and example apps #19

Closed martijnvandermarel closed 2 years ago

martijnvandermarel commented 2 years ago

Described in issue #18

I reused a lot of the code from https://github.com/crownstone/crownstone-microapp/pull/8, so credit also to @mPlagge for much of the code. That PR was closed but IMO not completely justified, since the presence and powerusage api did actually add something. I basically updated it to work with the refactored sdk protocol.

Tested and works on a dev board, although a dev board does not actually measure power of course.

Should be a simple merge.

vliedel commented 2 years ago

Thanks!