Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Home Automation with Intel Galileo

You're reading from  Home Automation with Intel Galileo

Product type Book
Published in Mar 2015
Publisher
ISBN-13 9781785285776
Pages 188 pages
Edition 1st Edition
Languages
Author (1):
Onur Dundar Onur Dundar
Profile icon Onur Dundar

Table of Contents (16) Chapters

Home Automation with Intel Galileo
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Getting Started with Intel Galileo Getting Started with Home Automation Applications Energy Management with Environmental and Electrical Sensors Energy Management with Light Sensors and Extending Use Cases Home Monitoring with Common Security Sensors Home Surveillance and Extending Security Use Cases Building Applications and Customizing Linux for Home Automation Extending Use Cases Index

Adding new features to the application


We have gone through the steps to add an application to the Linux image running on Intel Galileo. If you have a service process running in the background, you should work out the ways in which you communicate with the process, to send commands to the application.

There are many methodologies that you can apply or implement for your application to receive commands and send outputs to the requested client. We will investigate two methodologies to send and receive messages to and from the application. We will use named pipes and network sockets. Named pipes help you deliver messages locally to the home automation service. Network sockets give you the ability to deliver messages through the network connection.

Using named pipes

A named pipe is usually used to create an inter-process communication structure between processes. The idea is to create a special Linux device file to read and write data and bytes to the named file. Named pipes use the first in first...

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 $15.99/month. Cancel anytime}