Chapter 2. Initial Edge Tier Applications

I must have data!

How much memory remains?

I dare not look. Sigh.

This chapter focuses on the initial steps to getting your IoT solution up and running. You’ll build on these in the upcoming chapters, so setting the basic design in place now is very important. The overall architecture presented in Chapter 1 provides the initial guidance you’ll need to start coding your IoT solution, and we’ll keep building on that as we blaze ahead in this chapter and beyond. I’m sure you’re anxious to start building out your own solution based on what you’ll learn, but it’s important to take things one step at a time.

We’ll start by adding some simple functionality to the two applications you created in Chapter 1: the Gateway Device App (GDA) that will run on your “gateway device,” and the Constrained Device App (CDA) that will run on your “constrained device.”

What You’ll Learn in This Chapter

This is the beginning of your official coding journey with the IoT. You’ll learn how to define a detailed design for both your GDA and your CDA, separate the logical components of your design, and implement the framework for these two applications in Java and Python, respectively.

Right now, these two applications are very simple, but they’ll serve as important foundation ...

Get Programming the Internet of Things now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.