Agus Kurniawan
Practical Contiki-NGProgramming for Wireless Sensor Networks
Agus Kurniawan
Depok, Jawa Barat, Indonesia
ISBN 978-1-4842-3407-5e-ISBN 978-1-4842-3408-2
Library of Congress Control Number: 2018947346
© Agus Kurniawan 2018
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, email [email protected], or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.
Introduction

Wireless Sensor Networks (WSN) are one of the research and technology topics for which researchers, developers, and makers develop applications with specific purposes. Contiki-NG is one of the WSN platforms used to build WSN programs supported by various hardware platforms. This book is designed for developers and researchers who want to build Contiki-NG programs for general and specific purposes.

For the Readers

This book assumes you have some programming experience. It is also written for someone who has developed programs using C/C++ and wants to develop a Wireless Sensor Network (WSN) application with the Contiki-NG platform.

How This Book Is Organized

This book is designed with a step-by-step approach. You will learn how to develop a WSN with the Contiki-NG platform. You will also explore some Contiki-NG libraries and APIs to implement certain scenarios.

You will learn how to develop a Contiki-NG program. This book explains how Contiki-NG performs sensing and actuating. You will also see how to communicate with other Contiki-NG platforms and external systems, such as cloud servers.

Required Software, Materials, and Equipment

In general, you need a computer with Linux, Windows, or Mac OS installed. Linux is recommended. You should install all toolchains and Contiki-NG project codes on your computer.

We need Contiki-NG mote hardware to implement our demo. This book uses Telosb/sky and TI LaunchPad CC2650 boards for testing.

Acknowledgments

I would like to thank Apress for all their help in making this book possible. Specifically, I would like to thank Natalie Pao and Jessica Vakili, my coordinating editors, for helping me to stay focused and to overcome many obstacles. Without them, this book would not have been possible.

Special thanks to James Markham, my development editor, and Chaim Krause, technical reviewer, Nirmal Selvaraj, Production Editor, C. Dulcy Nirmala, Senior Executive Project Manager for all his suggestions during the editorial review process to help make this a great book.

I would also like to thank the Contiki and Contiki-NG communities anywhere in the world for contributing and making learning and developing Contiki-NG easy.

Last, but not least, a thank you to my wife, Ela, and my children, Thariq and Zahra, for their great support while I completed this book.

Table of Contents

Index289

About the Author and About the Technical Reviewer

About the Author

Agus Kurniawan

is a lecturer, researcher, IT consultant, and author. He has 17 years of experience in various software and hardware development projects, delivering materials in training and workshops, and technical writing. He has been awarded the Microsoft Most Valuable Professional (MVP) award 14 years in a row.

His topic interests are software engineering, embedded systems, networking, and security systems. He has been working as a lecturer and researcher at the Faculty of Computer Science, Universitas Indonesia. Currently, he is pursuing a PhD in computer science at the Freie Universität in Berlin, Germany. He can be reached on his blog at http://blog.aguskurniawan.net and Twitter at @agusk2010 .

 

About the Technical Reviewer

Chaim Krause

is first and foremost a #geek. Other hashtags used to define him are (in no particular order) #autodidact, #maker, #gamer, #raver, #teacher, #adhd, #edm, #wargamer, #privacy, #liberty, #civilrights, #computers, #developer, #software, #dogs, #cats, #opensource, #technicaleditor, #author, #polymath, #polyglot, #american, #unity3d, #javascript, #smartwatch, #linux, #energydrinks, #midwesterner, #webmaster, #robots, #sciencefiction, #sciencefact, #universityofchicago, #politicalscience, and #bipolar. He can always be contacted at [email protected] and goes by the Nom de Net Tinjaw.

 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.166.98