In this chapter, we will learn about important communication protocols such as HTTP and MQTT, which are widely used in IoT architecture. We will also introduce you to the JavaScript programming language and understand why it is becoming the choice for developing IoT applications. We will also demonstrate the implementation of protocols using JavaScript and establish communication between Raspberry Pi and the cloud/server programmatically.
The following topics will be covered in this chapter:
- The internet
- Rise of JavaScript and Node.js
- HTTP
- MQTT
- MQTT brokers