Demo program for LoRaWan with data formated for cayenne interface on mydevices.com Check on https://goo.gl/fTUDNc

Dependencies:   Cayenne-LPP

Demonstration d'un node LoRaWan sur carte : Discovery IOT STmicro : B-L072Z-LRWAN1 https://www.st.com/en/evaluation-tools/b-l072z-lrwan1.html

L e code original MBED-ARM : https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-lorawan/ est une application de l'API LoRAWan https://os.mbed.com/docs/v5.9/reference/lorawan.html

Le code original a été adapté pour une carte B-L072Z-LRWAN1 équipée d'un capteur de température LM35 connecté en 3.3v sur le port PA_0 (port analogique AN0) Les données sont formatées "cayenne" et visualisables sur mydevices.com ( https://goo.gl/fTUDNc ) Documentation cayenne : https://mydevices.com/cayenne/docs/lora/#lora-cayenne-low-power-payload

Les essais ont été réalisés avec une passerelle TTN https://www.thethingsnetwork.org/ le "Payload Format" ayant été configuré pour "Cayenne LPP"

Des capteurs virtuels on été également ajoutés (humidité, température, lumière, etc...) pour les essais au format cayenne.

Données physiques transmises (downlink)

- Température sur capteur LM35 - Tension sur PA_1 (AN1) est transmise entre 0% et 100% - Etat du bouton bleu

Données physiques reçues (uplink) Un actionneur permet d'allumer/eteindre à distance la led verte de la carte B-L072Z-LRWAN1

L'interface mydevice.com proposé permet de visualiser :

- Les capteurs virtuels - La température réelle sur LM35 - L'état du bouton bleu





File content as of revision 0:7037ed05f54f:

Apache License
Version 2.0, January 2004


1. Definitions.

distribution as defined by Sections 1 through 9 of this document.

owner that is granting the License.


permissions granted by this License.


generated documentation, and conversions to other media types.



to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems, and
the purpose of discussing and improving the Work, but excluding communication
that is conspicuously marked or otherwise designated in writing by the copyright
owner as "Not a Contribution."

of whom a Contribution has been received by Licensor and subsequently
incorporated within the Work.

2. Grant of Copyright License.

irrevocable copyright license to reproduce, prepare Derivative Works of,
Derivative Works in Source or Object form.

3. Grant of Patent License.

such license applies only to those patent claims licensable by such Contributor
Contribution incorporated within the Work constitutes direct or contributory

4. Redistribution.

provided that You meet the following conditions:

this License; and
changed the files; and
Derivative Works; and
Derivative Works that You distribute must include a readable copy of the
attribution notices contained within such NOTICE file, excluding those notices
provided that such additional attribution notices cannot be construed as
modifying the License.
with the conditions stated in this License.

5. Submission of Contributions.

Unless You explicitly state otherwise, any Contribution intentionally submitted
conditions of this License, without any additional terms or conditions.
any separate license agreement you may have executed with Licensor regarding
such Contributions.

6. Trademarks.

reasonable and customary use in describing the origin of the Work and
reproducing the content of the NOTICE file.

7. Disclaimer of Warranty.

including, without limitation, any warranties or conditions of TITLE,
solely responsible for determining the appropriateness of using or
redistributing the Work and assume any risks associated with Your exercise of
permissions under this License.

8. Limitation of Liability.

been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability.

accepting any such warranty or additional liability.