Node.js for Embedded Systems.pdf
(
30411 KB
)
Pobierz
Node.js
for Embedded
Systems
BUILDING WEB INTERFACES FOR CONNECTED DEVICES
Patrick Mulder & Kelsey Breseman
www.allitebooks.com
www.allitebooks.com
Node.js for Embedded Systems
Using Web Technologies to
Build Connected Devices
Patrick Mulder and Kelsey Breseman
Beijing
Boston Farnham Sebastopol
Tokyo
www.allitebooks.com
Node.js for Embedded Systems
by Patrick Mulder and Kelsey Breseman
Copyright © 2017 Patrick Mulder and Kelsey Breseman. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editors:
Nan Barber and Susan Conant
Production Editor:
Colleen Cole
Copyeditor:
Jasmine Kwityn
Proofreader:
Christina Edwards
October 2016:
First Edition
Indexer:
WordCo Indexing Services, Inc.
Interior Designer:
David Futato
Cover Designer:
Karen Montgomery
Illustrator:
Rebecca Demarest
Revision History for the First Edition
2016-10-06:
First Release
See
http://oreilly.com/catalog/errata.csp?isbn=9781491928998
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc.
Node.js for Embedded Systems,
the
cover image, and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the authors have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility
for errors or omissions, including without limitation responsibility for damages resulting from the use of
or reliance on this work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
978-1-491-92899-8
[LSI]
www.allitebooks.com
Table of Contents
Foreword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1.
Connecting Worlds. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Why the Internet of Things?
Embedded Devices
Embedded Internet
Protocols
Examples and Use Cases
JavaScript for Distributed Programming
JavaScript and the IoT
Hello World with JavaScript
JavaScript Runtime Environments
The Browser
The Server
Embedded Devices
The Node.js API
Buffer
Streams
1
3
4
5
7
9
9
10
13
13
14
16
18
18
19
22
23
25
28
30
31
iii
2.
Blink with Arduino. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Getting Started with Microcontrollers
Arduino
The Blink Sketch
The Firmata Bridge
Programming an Arduino with JavaScript
Functional Blocks of an MCU
www.allitebooks.com
Plik z chomika:
hubcio14
Inne pliki z tego folderu:
Oreilly.Learning.Node.Sep.2012.pdf
(5652 KB)
Oreilly.Node.for.Front-End.Developers.Jan.2012.pdf
(5232 KB)
Learning Node Moving to the Server-Side, 2nd Edition.pdf
(13902 KB)
The-Node-Craftsman-Book-by-Manuel-Kiessling.pdf
(1517 KB)
node_slides.pdf
(11645 KB)
Inne foldery tego chomika:
Angular
React
Zgłoś jeśli
naruszono regulamin