GithubHelp home page GithubHelp logo

isabella232 / exosense_specs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from feuerlabs/exosense_specs

0.0 0.0 0.0 2.32 MB

YANG specifications for the Feuerlabs Exosense system

Shell 79.77% Erlang 20.23%

exosense_specs's Introduction

Exosense ServerSpecifications

(C) 2013 Feuerlabs, inc, All rights reserved.

This repository contains three sections that defines the external interface of the Exosense Server.

  1. Yang Specifications (yang)
    Yang (RFC 6020) is used as an interface definition language to specify all apsects of the JSON-RPC interface implemented by the server. Any client communicating with the server through JSON-RPC is expected to adhere to those specifications.

  2. Server Manual (doc/exosense_server_manual.pdf)
    Gives an overview of the server functionality and external-facing structure.

  3. JSON-RPC Reference Manual (doc/exosense_reference_manual.pdf)
    Documents all supported JSON-RPC commands (as defined by the Yang specifications) and their use.

  4. JSON-RPC wrapping shell scripts (scripts/*.sh)
    Contains shell scripts to implement the majority of the JSON-RPC commands. These scripts can be used to interface the Exosense Server from a command line. The curl scripts can also be used as a reference to resolve ambiguities in the reference manual.

  5. Exosense Demo Tutorial (scripts/exosense_demo_tutorial.pdf)
    Contains a complete guide on how to:

  • Setup a Yocto build environment
  • Build a flashable image
  • Install the image on targe thardware
  • Setup a device identity
  • Provision the device in the server
  • Test the demo application on the device
  • Do changes to the demo application

Setting up the shell script environment

In order for the shell scripts to operate, they must know the URL where the Exosense Server resides, and how to authenticate to it. This is done through the ~/.exodmrc file that looks like the following

URL=https://test.feuerlabs.com:8000/exodm/rpc
USER_AUTH=<account>:<password>

The URL in the example above points to the Feuerlabs test server provided for free for up to ten devices. Please email us at accounts at Feuerlabs to get an account setup.

The USER_AUTH contains the account name and password assigned to you by Feuerlabs.

Some of the scripts (such as create-account.sh) requires administrator access. Send us an email if you for some reason need admin rights to the test server.

exosense_specs's People

Contributors

uwiger avatar malotte avatar tonyrog avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.