Giter Club home page Giter Club logo

device-sdk's Introduction

Atonomi Device SDK

Atonomi's Embedded Device SDK is a software library providing mechanisms to communicate with the Atonomi network. Atonomi provides a network solution which tackles the question of how to establish identity, trust, and reputation of IoT devices. The blockchain-based approach allows companies to securely exchange services and data to, from, and involving these devices.

The Embedded Device SDK provides a small-footprint code implementation of messaging routines for communications between an IoT device and the Atonomi Identity Registration Network (IRN). Aimed at embedded systems, this library is intended to be easy to use, integrate, and deploy, and provides support for vast numbers of SoCs and operating environments, especially those which leverage ARM Cortex-M or Cortex-A IP cores.

Getting the Code

The SDK is made available via a GitHub-hosted git repository here, where it can easily be cloned or otherwise downloaded for use.

git clone [email protected]:atonomi/device-sdk atonomi-device-sdk

Project Layout

The SDK is currently distributed as a pre-compiled static library for various architectures, along with a header file providing a C language API for use by developers to construct packetized messages for the Atonomi network.

All libraries are located within the lib/ subdirectory, and all include files are located within the include/ subdirectory.

A usage example of pack and unpack routines for an endpoint is present within the example/ subdirectory. Alongside this is a shell script which uses the curl utility to demonstrate a successful HTTP transaction with Atonomi servers and the receipt of a response to the submitted request.

Implementation Requirements

In order to be used properly, this SDK has two primary requirements:

  • Developers are required to implement a callback to obtain random data from a Hardware Random Number Generator.
  • The SDK functions use up to four kilobytes (4096 bytes) of stack space. Developers are responsible for ensuring this space is available in order to prevent a stack overflow or stack-heap collision.
  • errno-compatible declarations must be available. Developers may either include errno.h from a platform's libc, or instead use the provided atmi_errno.h file. The SDK is careful to restrict itself to those values which are consistent across all major UNIX platforms (Linux, BSD, Solaris, AIX, IRIX, etc.), so the source of errno declarations that is most convenient should be preferred.

Further Documentation

For more details, see the PDF document located within the doc/ subdirectory.

device-sdk's People

Contributors

areading avatar filcap avatar

Watchers

 avatar  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.