Getting Started

This page will help you get started with Meshblu Socket.io. You'll be up and running in a jiffy!

SDKs

  • Node.js/Javascript - Most Socket.IO interactions with Meshblu are performed using the NPM module (also available as a browser version). For more information on that library, checkout the project's README on Github.

Core Concepts

In order to connect and use the Websocket API, you must:

  1. Establish a secure socket.io connection to Meshblu at wss://meshblu-socket-io.octoblu.com.
  2. Respond to the identify challenge event with an identity response containing a UUID & Token.
  3. The Meshblu instance will respond with a ready event if the identity was valid, or a notReady event if the the identity was rejected.

If the ready event was received, the connection is ready to deliver messages and be queried for information. See the various supported Socket.IO events on the left for more information.