Book Image

Intel Galileo Blueprints

By : Marco Schwartz
Book Image

Intel Galileo Blueprints

By: Marco Schwartz

Overview of this book

Table of Contents (19 chapters)
Intel Galileo Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Setting Up the Galileo Board and the Development Environment
Index

Accessing the interface from anywhere


Now that we have successfully controlled the relay through the interface, we will explore ways to access this interface from anywhere.

For this, we will use Ngrok. This is a simple utility that enables its users to test local hosts with remote APIs. Through Ngrok, collaborators can overcome firewalls and access TLS connections.

It is an easy-to-use service, which requires no sign ups.

The Ngrok service will open up a tunnel between your local board and the Web. Then, you can access the interface from anywhere, anytime! It should be noted, however, that it doesn't work with the Galileo as of the time of this writing.

So, we will use our own computer as a relay instead, establishing the connection between the Web and your Galileo board:

  1. To do so, we first download the Ngrok files from the following URL:

    https://ngrok.com/download

  2. Now, if you are using Windows, double-click on the file to unzip it. If you are using Linux or OS X, go to the folder where you have...