December 2017
Intermediate to advanced
296 pages
5h 56m
English
In this section, we are going to communicate between the broker and the Raspberry Pi over MQTTS.
Navigate to the broker folder and run the following:
mosca -c index.js -v | pino
Next, head over to the Raspberry Pi, cd into the pi-client folder, and run the following:
$ npm start
And we should see the following message on the Raspberry Pi:

And when we look at the console of Mosca, we should see the following:

This wraps up our connectivity test between the Raspberry Pi 3 and the Mosca ...
Read now
Unlock full access