New functions for using tdtool embedded in software

Thanks to Lauri Aarnio tdtool now has two new functions for you who uses tdtool in your software or script. As you all know the old --list option was not optimized for machine decoding. Since the output also changed between versions this breaked some thirdparty softwares.

The new options --list-devices and --list-sensors is therefore made in a more machine-readable-friendly format: tab-separated key=value fields, one line/device, and no header lines, percent- or degree signs. Additionally, for sensors, age (in seconds) of the collected data is also printed.

The changeset: [842a042cdbf502f00883b8655f442d261fc5ecf3]


1. martti lumme <martti.lumme@…> -- 2012-02-29 14:09

When these new functions are downloadable as binaries to supported platforms?

2. micke prag <micke.prag@…> -- 2012-02-29 15:30

They are pushed to master. That means it will be released in the next version (2.1.2).