Skip to content

This App is a MQTT Client with the possible to create multiple connections.

License

Notifications You must be signed in to change notification settings

edodm85/MQTT-Terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Terminal

What is MQTT Terminal?

MQTT Terminal is a MQTT Client for Androi with the possible to create multiple connections.

You can download from Google Play here:

Features

  • MQTT 5.0 and 3.1.1 compatible
  • Multiple connections
  • Send/Receive text or images
  • SSL supported
  • Subscribe to topic (wildcards supported)
  • Enable/Disable notifications for the topic

Example

You can found this example "Send temperature value over MQTT protocol with mbed" HERE

How does it work?

  1. Open the "MQTT Terminal" Application and create a new connection with the Broker informations.

  1. Open the new connection and insert a new topic (wildcards are accepted)

  1. Now you can receive/send text or images

Send image from other clients

For receive images with my App you need to follow these two steps:

  1. First, send this string: image_ + (bytes image)

  2. Second send the image bytes

Example:

ByteArrayOutputStream stream = new ByteArrayOutputStream();
Bitmap image = ...
image.compress(Bitmap.CompressFormat.PNG, 80, stream);
byte[] byteArray = stream.toByteArray();
int len = byteArray.length;

oServiceConnection.publish(topic, "image_" + len);
oServiceConnection.publish(topic, byteArray);

License

Copyright (C) 2018 edodm85.
Licensed under the MIT license.
(See the LICENSE file for the whole license text.)

About

This App is a MQTT Client with the possible to create multiple connections.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published