Commit Graph

168 Commits

Author SHA1 Message Date
David Escalona 4e013d621a samples-manifest: add a samples manifest file to be used by Eclipse DEY plug-ins
https://jira.digi.com/browse/DEL-5260

Signed-off-by: David Escalona <david.escalona@digi.com>
2017-10-31 12:20:58 +01:00
Javier Viguera 0aa3900c86 dey-examples: rename makefile to libdigiapix-examples.mk
The makefile only builds the example applications based on 'libdigiapix'
library, so just rename the makefile accordingly.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-10-09 18:21:01 +02:00
Francisco Gil Martinez 1c6815046d makefile: add makefile to compile the digi apix examples
Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2017-10-09 10:55:46 +02:00
Francisco Gil Martinez d574d6b748 examples refactor the examples
Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2017-10-06 16:18:16 +02:00
Mike Engel 5bc334c320 dey-examples: add libdigiapix I2C example
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-4873
2017-09-20 18:15:02 +02:00
David Escalona 6c65df5c68 dey-examples: add libdigiapix SPI example
https://jira.digi.com/browse/DEL-4865

Signed-off-by: David Escalona <david.escalona@digi.com>
2017-09-19 12:31:25 +02:00
Javier Viguera 1e2358f5bf dey-examples: add libdigiapix GPIO example
https://jira.digi.com/browse/DEL-4795

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-14 16:42:14 +02:00
Francisco Gil Martinez 372d338d3f pwm_apix_sample: add an example for the pwm digi apix
https://jira.digi.com/browse/DEL-4881

Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2017-09-11 09:40:57 +02:00
Diaz de Grenu, Jose 2302b7c2e2 dey-examples: add example to use the Atmel ATECC508A
https://jira.digi.com/browse/DEL-4371

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-07-03 19:10:41 +02:00
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 13c4915411 readme: update readme contents with license and a brief explanation
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-05-26 21:49:40 +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
Tatiana Leon dc2599fd28 aws iot sample: add a config file option to get settings for the sample
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>
2017-05-17 18:11:36 +02:00
Tatiana Leon cbbe31f11e aws iot sample: add program options for application usage and daemonization
https://jira.digi.com/browse/DEL-4149

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-05-17 18:11:27 +02:00
Tatiana Leon 089b93cb11 aws iot sample: application with basic signal handling
https://jira.digi.com/browse/DEL-4149

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-05-12 10:27:10 +02:00
Tatiana Leon 9efd798622 Initial commit
Basic readme file for the repository.

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-05-08 10:32:49 +02:00