SDK best practice to manage sensors and metrics in C application
Hello, I'm quite new to TV IoT.
I have a Qt/C++ application running on Ubuntu, as frontend for an embedded device. I planned to setup several devices of the same type, for testing purpose.
I would like to use C SDK to push some values (eg software serial number, software version....) for each device. Very easy.
What is the best way to do that? Is it ok to list available sensors and metrics, and 'connect' to them, when application starts?
I also need to create sensors and metrics at runtime, if needed (just SendMetricValues example does). I don't want to use web TV IoT interface to create them for each device.
Thanks in advance.