Web Applications have a direct connection between the sender and receiver. The sender is the client (web browser) and the receiver is the server. They implement a command response message flow were the client(browser) makes a request and the server responds and there is a direct connection between client and server.
Continue readingAuthor: steve
MQTT v 5.0 New Features Overview
MQTT v5 introduced many new features and changed how some existing features work. In this tutorial I will be covering all of these features with brief examples, and also in many case, links to detailed examples and videos.
Continue readingHandling Multiple MQTT Client Connections Using Python
It is common to require several connections either to a single broker or to multiple brokers. There a several ways of achieving this and we will examine two ways. First let us recap on what we require with a single connection.
Continue readingIPv6 Explained for Beginners
IPV6 has been developed to replace IPV4 which is running out of addresses. Although it has been around almost 10 years it is still not widely deployed and supported. However adoption rates are increasing rapidly and IPv6 traffic crossed the 10% threshold in February 2016 (wiki) .
Continue readingUnderstanding IPv4 Addressing and Address Classes
IPv4 has been in use since the start of the Internet, and is widely deployed across the Internet, and home networks. In this tutorial we will cover the basics of IPv4 Addresses. You will Learn IPv4 address structure IPV4 Address classes Special and reserved IP addresses Broadcast Vasics
Continue readingCreating and Using Client Certificates with MQTT and Mosquitto
Another popular way of authenticating clients is via client certificates and can be use as in addition or as an alternative to using user name and password authentication.
Continue readingControl Raspberry Pi GPIO Pins Using MQTT
The Raspberry Pi has 40 General purpose Input/output Pins (GPIO) that can be used for controlling external hardware. There areĀ a number of add-on boards called hats which plug into these pins and provide various sensors. The most common one being the sense hat.
Continue readingHow to Log MQTT Sensor Data by Topic Using Python
The MQTT sensor data logger logs data on all monitored topics to the same log files. If the data need to be split into topics then it will need to be done by the log analyser software.
Continue readingBeginners Guide to Data and Character Encoding
When I first starting working with computers everything was in ASCII ( American Standard Code for Information Interchange ) However today working with networking protocols and network programming you will come across a variety of data and character encoding schemes. In this tutorial we will look at basic encoding schemes used on computers and in the second part of the tutorial we look at how data is sent over a network.
Continue readingHow MQTT Works -Beginners Guide
How Does MQTT Work ?-MQTT is a messaging protocol i.e it was designed for transferring messages, and uses a publish and subscribe model. This model makes it possible to send messages to 0,1 or multiple clients.
Continue reading