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]

Comments

1. Martti Lumme -- 12 years ago

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

2. Micke Prag -- 12 years ago

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