Skip to content

Instantly share code, notes, and snippets.

@boseji
Last active April 17, 2017 19:01
Show Gist options
  • Save boseji/804aedbdac5a9d21fc1f012edcd90fa8 to your computer and use it in GitHub Desktop.
Save boseji/804aedbdac5a9d21fc1f012edcd90fa8 to your computer and use it in GitHub Desktop.
MQTT with mosquitto Broker

MQTT using mosquitto Broker

MQTT is the protocol of choice for M2M and IoT Applications.

Mosquitto is an open source iot.eclipse.org project. It implements the MQTT protocol versions 3.1 and 3.1.1. For more details please refer to http://mosquitto.org/.

We would look at setting up the broker both on Raspberry Pi and an Ubuntu VM on PC.

Though some special configuration is needed to begin with using the VM.

We would be using the Virtual Box as the easy choice.

Make sure to follow the NAT tutorial for local network access on the PC.

As VM to PC connectivity is needed between the guest and host OSs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment