Skip to Content
Enterprise Internet of Things Handbook
book

Enterprise Internet of Things Handbook

by Arvind Ravulavaru
April 2018
Intermediate to advanced
332 pages
8h 5m
English
Packt Publishing
Content preview from Enterprise Internet of Things Handbook

Running the application

From inside the Kaa-IoT-Device/src folder, create a new file named main.c and update it as shown:

// Modified version of: https://kaaproject.github.io/kaa/docs/v0.10.0/Programming-guide/Your-first-Kaa-application/#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <time.h>#include <kaa.h>#include <platform/kaa_client.h>#include <kaa_error.h>#include <kaa_configuration_manager.h>#include <kaa_logging.h>#include <gen/kaa_logging_gen.h>#include <platform/kaa_client.h>#include <utilities/kaa_log.h>#include <platform-impl/common/ext_log_upload_strategies.h>#include <wiringPi.h>#define MAXTIMINGS 85#define DHTPIN 8 /* https://pinout.xyz/pinout/wiringpi */int dht11_dat[5] = {    0,    0,    0,    0,    0};static int32_t sample_period; ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Embedded Software for the IoT

Embedded Software for the IoT

Klaus Elk
Building Sensor Networks

Building Sensor Networks

Ioanis Nikolaidis, Krzysztof Iniewski
Architecting the Industrial Internet

Architecting the Industrial Internet

Robert Stackowiak, Carla Romano, Shyam Varan Nath

Publisher Resources

ISBN: 9781788838399Supplemental Content