Skip to content

mcmon-dev/iot-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enabling the Blockchain in the IoT

This repository contains a middleware for IoT applications. The figure below shows the architecture of the developed application. The details can be read in the Master thesis "Enabling the Blockchain in the Internet of Things" [1]. The basic idea is to distribute data collected by sensors via two communication channels. One guarantees the integrity of the data by storing data in a blockchain. The second channel distributes the data in real-time.

architecture

Usage

The description how to use the required components can be found in the specific sub-folders. This document provides a general description which steps you have to take in order to get the application started.

  1. Set up the smart contract on the Ethereum blockchain.
  2. Set up the IoT middleware.
  3. Set up the IoT client.
  4. Set up the sensor/virtual driver.

Troubleshooting

The registration of the sensor/virtual driver at the IoT middleware is not working
Check your firewall settings if traffic is blocked from or to the the IoT middleware.

Transactions in Geth are not sent. Status pending.

  • Try to set a higher gas price. A higher gas price might speed it up.
  • Sometimes testnets might have problems in processing transactions. Try to connect to another network, however keep in mind different networks might have different properties like consensus mechanisms.

References

[1] Enabling the Blockchain in the Internet of Things

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published