wikiroute

networking recipes

User Tools

Site Tools


exploring_lorawan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
exploring_lorawan [2018/10/29 14:12] – [4. Applications] samerexploring_lorawan [2018/11/27 11:06] – [5.1. The End-to-End Challenge] samer
Line 13: Line 13:
  
 [{{ :lora-pilot-architecture.png?direct&650 | Figure 1. Architecture of the LoRaWAN Platform}}] [{{ :lora-pilot-architecture.png?direct&650 | Figure 1. Architecture of the LoRaWAN Platform}}]
 +
 +{{ :img_20170124_160141.jpg?nolink&400 | Outdoor antenna of ESIB}}
  
 <WRAP center round help 100%> <WRAP center round help 100%>
Line 59: Line 61:
 </WRAP> </WRAP>
  
-Let us analyze to radio parameters in the sketch by answering the following questions.+Let us analyze the radio parameters in the sketch by answering the following questions.
  
 <WRAP left round help 100%> <WRAP left round help 100%>
Line 67: Line 69:
 </WRAP> </WRAP>
  
-The LMIC library defines a set of events corresponding to the protocol machine state. These events appear in the ''onEvent()'' function.+The LMIC library (see {{ :lmic-v1.5.pdf | documentation}}) defines a set of events corresponding to the protocol machine state. These events appear in the ''onEvent()'' function.
  
 <WRAP left round help 100%> <WRAP left round help 100%>
Line 82: Line 84:
 </WRAP> </WRAP>
  
-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 to 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!
  
 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 corresponding to you device?+  * What are the different fields that appear in the device activation corresponding to you device?
   * 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 (using for instance [[https://www.base64encode.org]])
 </WRAP> </WRAP>
  
Line 132: Line 134:
 ==== -. 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 `String` function can be used to cast the message you want to send in a string format.
 +</WRAP>
  
 ==== -. The Downlink Challenge ==== ==== -. The Downlink Challenge ====
exploring_lorawan.txt · Last modified: 2021/11/02 06:31 by samer