programming-the-iot / book-exercise-tasks

This repo is for issues / tasks ONLY. All programming and related exercises for each chapter of 'Programming the Internet of Things' are listed here.
Other
11 stars 12 forks source link

PIOT-INF-07-001: MQTT Client (GDA) #180

Open labbenchstudios opened 3 years ago

labbenchstudios commented 3 years ago

Review

Read Chapter 7 of Programming the Internet of Things.

Objective

Build a robust publish/subscribe (pub/sub) data communications capability into your GDA using MQTT. Prove you can communicate between your GDA and CDA using this protocol and an MQTT message broker server.

Activities

Continue the work you started in PIOT-INF-06-001, but with the GDA. You'll update your GDA to implement an MQTT client that can publish messages to the same MQTT broker your CDA is already using and receive updates through topic-level subscriptions.

You'll add a simple MQTT client abstraction layer to your GDA (Java) and verify the functionality using existing integration tests (and any others you choose to write) provided as part of the downloaded code.


Lab Module 07

Lab Module 07 - MQTT Client - Part 2 is focused on building an MQTT client as part of the GDA's functionality.

Step 1: Read the Lab Module Summary and follow the Configuration steps

Step 2: Follow the GDA specific instructions


NOTE: Each chapter requires familiarity with source code version control using Git. If you're unfamiliar with Git, Git branching, or merging, Atlassian has a useful tutorial on these topics, located here: Git Branching

Review the README

Review the LICENSE and USAGE guidelines