Book Image

Internet of Things from Scratch

By : Renaldi Gondosubroto
Book Image

Internet of Things from Scratch

By: Renaldi Gondosubroto

Overview of this book

Develop the skills essential for building Internet of Things solutions with this indispensable guide. In an era where industries heavily rely on IoT, this book will quickly familiarize you with its foundations, widespread use, implementation guided by best practices, and the crucial technologies that allow it to work effectively. Starting with the use of IoT in real-life scenarios, this book offers comprehensive insights into basic IoT hardware, protocols, and technologies. You’ll then learn about architecting and implementing solutions such as wireless sensor networks, cloud computing with AWS, and crucial security considerations. You’ll understand how these systems are operated and monitored over time and work with simple to complex, industry-grade systems, adhering to best practices. In later chapters, you’ll be apprised of future IoT trends and strategies to manage the risks and opportunities that come with them. You’ll also get to grips with a diverse set of tools, including hardware such as ESP32 and Raspberry Pi, and software such as Mosquitto and ChatGPT for generative AI capabilities. By the end of this IoT book, you’ll be able to independently build and design complex, industry-standard solutions fully aligned with best practices.
Table of Contents (22 chapters)
1
Part 1: Getting Started with the Internet of Things
6
Part 2: Developing and Optimizing IoT Systems for Smart Environments
11
Part 3: Operating, Maintaining, and Securing IoT Networks
16
Part 4: Delving into Complex Systems and the Future of IoT

Managing APIs

APIs are very important within WSNs as they help different components of the network communicate with each other. It operates within the application layer, allowing the layer to access the functions of the operating system, such as power management and data collection.

How they integrate within the system

APIs for WSNs can be provided at different levels, including the operating system level and the network level. An example of such an integration is how TinyOS provides an API that allows the application layer to access the functions that are provided by the operating system. At a network level, an API can provide an interface for the application layer to access the routing table, enabling it to find the best path for data transmission to be done. This can be implemented by different standard protocols such as MQTT or CoAP, two application protocols that we discussed in Chapter 3, Integrating Application Protocols.

APIs allow different software components to...