Chapter 10. Edge Integration
The request has failed.
Fall back and try another.
Now, fire and forget.
At this point, you’re probably anxious to pass messages between your CDA and your GDA. This chapter is all about connecting these two applications in a meaningful way, using both CoAP and MQTT.
What You’ll Learn in This Chapter
Edge integration is one of the more challenging aspects of designing and implementing an IoT ecosystem, since it often involves multiple protocols, security constraints, data formatting idiosyncrasies, and much more. While I won’t tackle all of these concerns, all of your work leading up to this point has been to prepare for this moment: the integration of your Edge Tier applications—the CDA and the GDA.
In this chapter, you’ll learn how to finally integrate your two applications using both CoAP (which you started digging into in Chapters 8 and 9) and MQTT (which you learned about in Chapters 6 and 7).
Most of the attention in this chapter will be on testing your connection layers (for example, MqttClientConnector
with your locally running MQTT broker, and your GDA’s CoapServerGateway
with your CDA’s CoapClientConnector
).
You’ll also learn some basic encryption concepts, including how to use TLS to encrypt the connection between your two MQTT clients ...
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.