wikiroute

networking recipes

User Tools

Site Tools


esib_iot_challenge

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
esib_iot_challenge [2017/05/17 19:50] – [3. Devices] sameresib_iot_challenge [2017/05/17 22:27] – [4. Applications] samer
Line 105: Line 105:
 ===== -. Applications ===== ===== -. Applications =====
 mqtt-spy is an open source utility intended to help you with monitoring activity on MQTT topics. It has been designed to deal with high volumes of messages, as well as occasional publications. mqtt-spy is a JavaFX application, so it should work on any operating system with an appropriate version of Java 8 installed. A very useful tutorial is available on [[https://github.com/eclipse/paho.mqtt-spy/wiki]]. mqtt-spy is an open source utility intended to help you with monitoring activity on MQTT topics. It has been designed to deal with high volumes of messages, as well as occasional publications. mqtt-spy is a JavaFX application, so it should work on any operating system with an appropriate version of Java 8 installed. A very useful tutorial is available on [[https://github.com/eclipse/paho.mqtt-spy/wiki]].
-You can use mqtt-spy to debug the messages received from the LoRaWAN devices. For this, you should download the software tool from [[https://github.com/eclipse/paho.mqtt-spy/wiki]]. After starting the application, configure a new connection to the MQTT broker by simply adding the IP address of the broker in the ''Server URI'' field. Now you can subscribe to any MQTT topic. If you want to receive all messages arriving at the backend, you can use the generic topic ''#''. You can also limit to the topic including the messages of any specific device: ''application/APPLICATION_ID/node/DEVICE_EUI/rx''+You can use mqtt-spy to debug the messages received from the LoRaWAN devices. The tool is provided at the beginning of the challenge. After starting the application, configure a new connection to the MQTT broker by simply adding the IP address of the broker in the ''Server URI'' field. Now you can subscribe to any MQTT topic. If you want to receive all messages arriving at the backend, you can use the generic topic ''#''. You can also limit to the topic including the messages of any specific device: ''application/APPLICATION_ID/node/DEVICE_EUI/rx'' 
 + 
 +<WRAP left round help 100%> 
 +  * Summarize the concepts and functionalities of the MQTT protocol. 
 +  * What are the possible strengths and weaknesses in terms of security of MQTT? 
 +  * What are the different types of topics used by the backend? Explain. 
 +  * Explain the different fields in a captured MQTT message received from you device. 
 +</WRAP> 
 +===== -. The End-to-End Challenge ===== 
 + 
 +===== -. The Downlink Challenge ===== 
 + 
 +===== -. The Radio Challenge ===== 
 + 
 +<code> 
 +//      LMIC_disableChannel(1); 
 +//      LMIC_disableChannel(2); 
 +//      LMIC_disableChannel(3); 
 +//      LMIC_disableChannel(4); 
 +//      LMIC_disableChannel(5); 
 +//      LMIC_disableChannel(6); 
 +//      LMIC_disableChannel(7); 
 +//      LMIC_disableChannel(8); 
 +//      LMIC_setDrTxpow(DR_SF10,14); 
 +</code> 
 + 
 +<code> 
 +
 +          "applicationID": "2", 
 +          "applicationName": "NTRE-1617", 
 +          "data": "eyJMIjogMzcwLCAiTSI6IDM2NywgIlQiOiAtMTI3LjAwfQ==", 
 +          "devEUI": "0ce03fb4fcab65ed", 
 +          "fCnt": 26, 
 +          "fPort": 1, 
 +          "nodeName": "NTRE-G1", 
 +          "rxInfo": [{ 
 +                    "loRaSNR": 8.8, 
 +                    "mac": "7276ff000b03008c", 
 +                    "rssi": -71, 
 +                    "time": "2017-05-17T17:16:35.973982Z" 
 +          }], 
 +          "txInfo":
 +                    "adr": true, 
 +                    "codeRate": "4/5", 
 +                    "dataRate":
 +                              "bandwidth": 125, 
 +                              "modulation": "LORA", 
 +                              "spreadFactor": 10 
 +                    }, 
 +                    "frequency": 868100000 
 +          } 
 +
 +</code>
esib_iot_challenge.txt · Last modified: 2021/08/28 09:53 by samer