The application connects to AWS IoT and monitors the CPU temperature.
It uploads the Thing Shadow every minute (per param in config file) or when the
temperature variation is bigger than 1C (per param in the config file).
This commit adds the following configuration parameters:
* 'shadow_report_rate': Frequency at which the device reports its shadow to
the cloud (in seconds).
* 'temperature_variation': Minimum absolute value of the difference between
last reported temperature and the current value to report again.
https://jira.digi.com/browse/DEL-4149
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
The application uses 'libconfuse' to read the settings from the provided
configuration file with the option '-c'. By default, the application looks for
the '/etc/awsiotsdk.conf' file.
https://jira.digi.com/browse/DEL-4149
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>