Skip to content

EoT control mode java

EyesOfThings edited this page Feb 17, 2017 · 8 revisions

Index

  1. Introduction

    • Clases
  2. Use of the Application

  3. Limitations

  4. Dependencies

  5. Additional information

  6. Introduction

The MQTT application only requires an MQTT library that connects the client with the broker through a network connection in order to send and receive small messages. There are many open-source MQTT client libraries available for a variety of programming languages such as Java, JavaScript, C, C++, C#, Go, iOS, .NET, Android, or Arduino.

Here, the EoT Desktop MQTT client has been developed in Java using the Paho Java Client library. That way, the same code base can be used for both desktop and Android applications.

Clases

The EoT MQTT application is divided into two clases:

  • EoT_MainFrame. Contains the code of the graphical user interface.
  • EoT_MQTT_Client. Manages the Paho client and provides all the functionalities needed.

Use of the Application

The application is divided into three tabbed panels:

  1. MQTT Client panel. Contains the functionalities of a typical MQTT client.
  2. Configuration panel. Allows the user to configure the EoT device and manage the files stored in the SD card.
  3. Snapshot panel. Where the user can request a snapshot from the EoT device camera.

Before connecting the EoT Control Mode Desktop application to the EoT device the computer should be connected to the EoT device AP.

Clone this wiki locally