I want to add support for humidity tag in my custom firmware, but I realized there are multiple revisions of the tag. As I use this firmware as generic for multiple devices, I want to support all tag revisions.
SDK docs (https://sdk.hardwario.com/group__twr__tag__humidity) are not very helpful, there are no examples and no information about how to detect tag revision. In generic firmware (https://github.com/hardwario/bcf-generic-node/blob/master/app/sensors.c) is each revision handled like individual tag on low level which I don’t like.
So, how can I detect humidity tag presence and revision using
twr_tag_humidity? And some example how to implement publishing measures would be nice too.
Thanks for help.