Cylon.js API Plugin For Socket.io
Cylon.js (http://cylonjs.com) is a JavaScript framework for robotics, physical computing, and the Internet of Things using Node.js
API plugins are separate from the Cylon.js main module, to make everything more modular and at the same time make Cylon.js lighter.
This repository contains the Cylon API plugin for Socket.io
For more information about Cylon, check out the repo at https://github.com/hybridgroup/cylon
How to Install
$ npm install cylon cylon-api-socketio
How to Use
Make sure you have Cylon.js installed, then we can add Socket.io support to cylon programs as follows:
'use strict'; var Cylon = ; Cylon; // ensure you install the API plugin first:// $ npm install cylon-api-socket-ioCylon; Cylonstart;
How to Connect
Once you have added the api to your Cylon.js code, and your robots are up and running, you can connect to them using Socket.io using the following code:
Simple Device Example
Documentation
We're busy adding documentation to cylonjs.com. Please check there as we continue to work on Cylon.js.
Thank you!
Contributing
For our contribution guidelines, please go to https://github.com/hybridgroup/cylon/blob/master/CONTRIBUTING.md.
Release History
For the release history, please go to https://github.com/hybridgroup/cylon-api-socketio/blob/master/RELEASES.md.
License
Copyright (c) 2014-2015 The Hybrid Group. Licensed under the Apache 2.0 license.