MQTT is probably the most common IOT protocol and many IOT service providers and devices provide an MQTT based API. In the tutorial we are going to use a simple MQTT API to manage several simulated devices.
Continue readingAuthor: steve
Using HTTP APIs For IOT -Beginners Guide
Many of the APIs today are Web API’s designed to access web services like Facebook ,Twitter etc. Because of their widespread use most IOT services (AZURE,AWS,Bluemix) also support http based APIs. To understand and use an http API you will need a reasonable understanding of the following:
Continue readingJSON Basics For Beginners-With Examples and Exercises
When sending and receiving data in IOT applications and APIs you will encounter JSON formatted data. Having a good working knowledge of JSON, and how to create and use JSON data will be very important in developing IOT applications. The tutorial is split into two sections. The first section we look at creating JSON data and in the second section we look at converting JSON data into JavaScript objects and extracting values from the data.
Continue readingHTTP Headers: Understanding HTTP Part 2
In the second part of our short http course we will look at http headers. If you’ve missed part 1 then here it is- Part 1- http basics
Continue readingUsing cURL for Testing IOT Applications
The http protocol is the main protocol used on the web, and because of its widespread adoption it is also used in IOT applications. Many IOT applications like the Thingsboard Dashboard support both http and MQTT. In this tutorial we will start with a general introduction to cURL and show examples of using cURL to get and POST data.
Continue readingUnderstanding And Using MQTT v5 Request Response
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 readingMQTT 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 reading