Time Series

Warning
Time Series features are experimental in Legato 16.10.0, and will change in the next release.

Legato 16.10.0 introduces the initial release of AirVantage time series data feature. Time series provides the ability to collect an app data set periodically, store the data locally, and then send all data to the server based on a specified trigger event (e.g., collect driving behavior during a trip, and send all data only when the car is parked).

LEGATO_FEATURE_TIMESERIES is enabled by default for all WP products. Before you can use time series data features, the target device image must be updated, and the Observe function must be turned on.

Note
You must use the 16.10.0 toolchain and Legato Linux source distribution (available from Legato Downloads) so you have the required new cbor lib to build Legato. Using an old toolchain and Linux distribution will cause build failure.

Turn-off Time Series

If you want to update to Legato 16.10.0 without updating your toolchain and Legato Linux source distribution, or if you don't want to use this alpha-release time series feature, you need to turn-off time series in the necessary targetdef files (i.e., comment starting at # export LEGATO_FEATURE_TIMESERIES = -DLEGATO_FEATURE_TIMESERIES in targetdefs.wp85).

For details on time series functions, see AirVantage Data API Time Series, Legato 16.10.0 Release Notes, and Legato 16.10.0 Upgrade Notes.