Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

CHAPTER 5 ■ IOT PATTERNS: REALTIME CLIENTS


Figure  5-17 shows the dialog box that will be presented when you paste the
MQTT library.


Figure  5-18 shows the dialog box that will be presented when you paste the Android
Service library.


As shown in Figure  5-19 , right-click on the newly added libraries and click on the
Add As Library option. You can do this for both libraries individually or select both and
then add them as libraries.


Figure 5-17. I m p o r t M Q T T l i b r a r y


Figure 5-18. Import Android Service library


Figure 5-19. Add the imported files as libraries

Free download pdf