exploring_lorawan
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
exploring_lorawan [2018/10/29 13:47] – [3. Devices] samer | exploring_lorawan [2019/10/23 14:22] – [3. Devices] samer | ||
---|---|---|---|
Line 13: | Line 13: | ||
[{{ : | [{{ : | ||
+ | |||
+ | {{ : | ||
<WRAP center round help 100%> | <WRAP center round help 100%> | ||
Line 24: | Line 26: | ||
[{{ : | [{{ : | ||
- | Start by choosing the application named '' | + | Start by choosing the application named '' |
- | * A unique device name: '' | + | * A unique device name: '' |
* The device description | * The device description | ||
- | * A unique device EUI on 64 bits: Random identifiers can be generated | + | * A unique device EUI on 64 bits: click on the circular arrow to generate a random |
* A unique application key on 128 bits also obtained by random generation. | * A unique application key on 128 bits also obtained by random generation. | ||
Line 40: | Line 42: | ||
Devices in the LoRaWAN platform are implemented on Arduino boards with Dragino shields. The combined module as well as the basic configuration steps are presented in [[exploring_lora|Exploring LoRa lab]]. | Devices in the LoRaWAN platform are implemented on Arduino boards with Dragino shields. The combined module as well as the basic configuration steps are presented in [[exploring_lora|Exploring LoRa lab]]. | ||
- | Start by verifying the installation on your PC of the latest Arduino IDE. Unzip the Arduino {{ : | + | Start by verifying the installation on your PC of the latest Arduino IDE. Unzip the Arduino {{ : |
Now you should configure your device with the same identifiers '' | Now you should configure your device with the same identifiers '' | ||
Line 59: | Line 61: | ||
</ | </ | ||
- | Let us analyze | + | Let us analyze |
<WRAP left round help 100%> | <WRAP left round help 100%> | ||
Line 67: | Line 69: | ||
</ | </ | ||
- | The LMIC library defines a set of events corresponding to the protocol machine state. These events appear in the '' | + | The LMIC library |
<WRAP left round help 100%> | <WRAP left round help 100%> | ||
Line 82: | Line 84: | ||
</ | </ | ||
- | Now you are ready to compile the sketch and upload it to the LoRaWAN device. Connect the device a USB port on your PC, choose the board type as presented in [[exploring_lora|Exploring LoRa lab]] and select the corresponding port. Compile and upload! | + | Now you are ready to compile the sketch and upload it to the LoRaWAN device. Connect the device |
Open the serial monitor in the Arduino IDE at 115200 baud and analyse the debug messages. | Open the serial monitor in the Arduino IDE at 115200 baud and analyse the debug messages. | ||
Line 94: | Line 96: | ||
<WRAP left round help 100%> | <WRAP left round help 100%> | ||
- | * What are the different fields that appear in the node session | + | * What are the different fields that appear in the device activation |
* Explain how each field is created according to the LoRaWAN specification. | * Explain how each field is created according to the LoRaWAN specification. | ||
* What are the different counters visible at the backend? Explain how they get incremented and how they are used. | * What are the different counters visible at the backend? Explain how they get incremented and how they are used. | ||
Line 111: | Line 113: | ||
<WRAP left round tip 100%> | <WRAP left round tip 100%> | ||
- | The payload received by the MQTT client is decrypted but encoded in Base64. You should decode it to get the original message. | + | The payload received by the MQTT client is decrypted but encoded in Base64. You should decode it to get the original message |
</ | </ | ||
Line 118: | Line 120: | ||
< | < | ||
{ | { | ||
- | " | ||
" | " | ||
" | " | ||
Line 128: | Line 129: | ||
The payload sent by the MQTT client must be encoded in Base64. | The payload sent by the MQTT client must be encoded in Base64. | ||
</ | </ | ||
+ | |||
+ | You can also download a {{ : | ||
===== -. LoRaWAN Challenges ===== | ===== -. LoRaWAN Challenges ===== | ||
Implement and provide technical documentation for each of the following challenges. | Implement and provide technical documentation for each of the following challenges. | ||
Line 133: | Line 136: | ||
==== -. The End-to-End Challenge ==== | ==== -. The End-to-End Challenge ==== | ||
I can send data from the device to the application. | I can send data from the device to the application. | ||
+ | |||
+ | <WRAP center round tip 100%> | ||
+ | Note that the '' | ||
+ | </ | ||
==== -. The Downlink Challenge ==== | ==== -. The Downlink Challenge ==== |
exploring_lorawan.txt · Last modified: 2021/11/02 06:31 by samer