This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
et:iot:examples:setup:debugging [2020/03/18 18:29] – tekitatud heikopikner | et:iot:examples:setup:debugging [2024/07/04 12:32] (current) – rojarl | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Debugging | + | ===== Silumine |
- | The recommended debugging software for the IoT modules is MQTTBox (which can be downloaded [[http:// | + | Soovitatav MQTT klienditarkvara |
- | ====Setting up the MQTTBox==== | + | * [[en: |
+ | * [[en: | ||
- | The first step after opening the program is creating a new MQTT client. | + | USB Serial Port'i saab kasutada IoT komplektide silumiseks. Selleks on vaja serial terminali. Üks kõige arenenumaid serial terminaale on RealTerm, mis võimaldab andmete vaatamist ja logimist erinevates vormingutes ning IoT moodulite käsitsi lähtestamist. |
- | {{:en: | + | * [[en: |
- | + | ||
- | Here you have to configure the client to connect with your selected MQTT broker. | + | |
- | The important fields are on the picture below, you can leave the rest on their default settings. | + | |
- | * **MQTT Client name** - Write a name for this settings file. A good idea is to name it after the broker you are connecting to. | + | |
- | * **MQTT Client Id** - This is the name you set for your individual device. There should be only one device with this name connected with your broker. | + | |
- | * **Protocol** - This is the protocol used for this connection. It should be mqtt/tcp when using the Raspberry broker and mqtts/tls when using the Distancelab one. | + | |
- | * **Host** - Here enter the IP (or URL) and the port of the broker. It should be formatted as " | + | |
- | * **Username and password** - If your broker has username and password enabled then enter those. | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | ===MQTT settings for Roboticlabs Raspberry broker=== | + | |
- | + | ||
- | If you downloaded and flashed the Raspberry image file that we provided then follow the picture below to configure your MQTTBox broker settings. | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | ====Using MQTTBox==== | + | |
- | + | ||
- | If the program does not automatically connect to the broker press the blue "Not connected" | + | |
- | + | ||
- | {{: | + |