ElectronicCats / CayenneLPP

Library for Arduino compatible with Cayenne Low Power Payload
http://electroniccats.com/
MIT License
112 stars 50 forks source link

Add support for power measurement type (IPSO: 3305) #33

Closed mincequi closed 1 year ago

mincequi commented 3 years ago

Hi, as i need support for a smart meter device, i was wondering if it is desired to support the power measurement type (IPSO:: 3305). Resulting in type 105 for CayenneLPP. Reasons to support this:

I would orient myself to the BIPSO specification and also support some optional values: https://github.com/bluetoother/bipso/wiki/BIPSO-Specification

What i also would add is support for SFLOAT16 data type (from bluetooth specification). The advantages of this type are:

For my intended design, the payload would look like this:

Please share your thoughts. I am also willing to provide a PR.

Thanks a lot :)