Commit Graph

4 Commits

Author SHA1 Message Date
Tatiana Leon bffdbe88f6 license: use ISC license
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-06-01 10:50:53 +02:00
Tatiana Leon f789318be7 aws iot sample: add support to remotely control an LED
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>
2017-05-18 15:10:49 +02:00
Tatiana Leon 4837f8edc5 aws iot sample: add support to report CPU load
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>
2017-05-18 15:09:30 +02:00
Tatiana Leon 1fff418887 aws iot sample: add support to connect to AWS IoT and report CPU temperature
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>
2017-05-18 15:08:09 +02:00