The application allows to switch on and off the configured LED.
This commit adds the following configuration parameter:
* 'user_led ': GPIO number of the LED to be remotely controlled.
If -1, no LED is controlled, but the application simulates its status.
https://jira.digi.com/browse/DEL-4149
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
The application also monitors the CPU load along with the temperature.
It also uploads the Thing Shadow when the load variation is bigger than 10% (per
param in the config file).
This commit adds the following configuration parameter:
* 'cpu_load_variation': Minimum absolute value of the difference between last
reported CPU load 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 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>