Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On IoT Solutions with Blockchain.

You're reading from  Hands-On IoT Solutions with Blockchain.

Product type Book
Published in Jan 2019
Publisher Packt
ISBN-13 9781789132243
Pages 206 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Maximiliano Santos Maximiliano Santos
Profile icon Maximiliano Santos
Enio Moura Enio Moura
Profile icon Enio Moura
View More author details

Table of Contents (15) Chapters

Title Page
About Packt
Contributors
Preface
1. Understanding IoT and Developing Devices on the IBM Watson IoT Platform 2. Creating Your First IoT Solution 3. Explaining Blockchain Technology and Working with Hyperledger 4. Creating Your Own Blockchain Network 5. Addressing Food Safety - Building around the Blockchain 6. Designing the Solution Architecture 7. Creating Your Blockchain and IoT Solution 8. The IoT, Blockchain, and Industry 4.0 9. Best Practices for Developing Blockchain and IoT Solutions 1. Other Books You May Enjoy Index

Creating the IoT part of the solution


After defining the entire blockchain network and getting everything up and running, we will now set up and develop the device that's going to update the ledger with box and pallet measurements.

To complete that, we're going to create a new device, using the same approach as Chapter 2, Creating Your First IoT Solution, and create an application that receives events from measurements and updates the blockchain ledger using the API that was exposed by the Composer REST server.

Hardware setup

To assemble this monitoring device, we will apply a couple of assumptions that might be pertinent to a production environment:

  • The transporting vehicle has a Wi-Fi connection available so that the device can connect to the internet
  • The monitoring device time is synchronized with the application time, including the time zone
  • All boxes are transported at the same time, using the same vehicle, so that the same conditions and measurements apply to all boxes in a pallet

In a production...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}