Setting up dependencies

Now that we have set up the project as well as the SDK, we are going to install the required dependencies. We need to install the following:

  • CMake to build our Kaa C app
  • WiringPi to interface with the GPIO pins on the Raspberry Pi

In the Raspberry Pi, open a Terminal and run the following:

$ sudo apt-get install cmake

Once this is done, install WiringPi by following the instructions on this page: http://wiringpi.com/download-and-install/. Once the required dependencies are set up, we will set up the hardware and start reading the data.

Get Enterprise Internet of Things Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.