Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/akamai/java-simple-mqtt-device

This is where some sample Java MQTT Paho client programs (multiple but one project) show how to connect to IoT Edge Connect
https://github.com/akamai/java-simple-mqtt-device

iot mqtt

Last synced: about 1 month ago
JSON representation

This is where some sample Java MQTT Paho client programs (multiple but one project) show how to connect to IoT Edge Connect

Awesome Lists containing this project

README

        

# Java Simple MQTT device

* [Overview](#overview)

* [Get started](#get-started)

* [Publish and Subscribe](#publish-and-subscribe)

* [Notice](#notice)

# Overview

This is where some sample MQTT Paho client (https://www.eclipse.org/paho/) programs (multiple but one project) show how to connect to IoT Edge Connect.

# Get started

In order to start using `java-simple-mqtt-device` MQTT client, add `configuration.txt` file to `/resources` folder.
It should has the following syntax:

```
mqtt.host =
topic.prefix =
client.id.prefix =
```

**Note:** You should receive a configuration file from [[email protected]](mailto:[email protected]), after requesting a Sandbox.

# Publish and Subscribe

There are two main files to run:
1. com.akamai.iot.iec.SimplePublisher.java
2. com.akamai.iot.iec.SimpleSubscriber.java

Upon running, you will be prompted to provide `username` and `password` to your Sandbox.
Look for the details in the email received from [[email protected]](mailto:[email protected]), after requesting a Sandbox.

Sample users received in an email:
```
Device users: user_1, user1_2, user1_3, user1_4
User's default password: secret
```

**Note:** Default password is the same for all the device users.

# Notice
Copyright © 2019-2020 Akamai Technologies, Inc.

Your use of Akamai's products and services is subject to the terms and provisions outlined in [Akamai's legal policies](https://www.akamai.com/us/en/privacy-policies/).