Git Product home page Git Product logo

otgc-linux's Introduction

Onboarding Tool and Generic Client: Linux App

Overview

Project Setup

IoTivity Base API

To import the IoTivity Base API Binary into the OTGC Linux App project:

  1. Create a new directory called lib in the project root.

  2. Build the IoTivity binary in linux.

     scons BUILD_JAVA=1
    
  3. Copy the iotivity.jar into lib directory. This file is found in:

     <iotivity>/out/linux/<your arch>/<release mode>/java/iotivity.jar
    
  4. Add iotivity.jar to the libraries of the project.

  5. Copy the libraries (only .so files) for IoTivity into the lib directory. These libraries is found in:

     <iotivity>/out/linux/<your arch>/<release mode>
    
  6. Add the following command, to link the previous libraries with iotivity.jar, in the run/debug configuration:

     -Djava.library.path=<project directory>/lib/
    

Build

Testing

Usage

Debian package

The OTGC application requires the following packages:

  • openjdk-8-jdk
  • openjfx

This packages can install through the next command:

sudo apt-get install <package>

where package is the name of the package to install.

The installation of the OTGC won't be possible if the above packages are not installed. Once all dependencies are installed, to install the debian package, use the next command:

sudo dpkg -i otgc-<version>.deb

where version is the target version of the package to install (e.g. 1.0.0).

To run the application when it has been installed:

  1. Click on the menu icon.
  2. Search OTGC in search box.
  3. Click on OTGC application.

The OTGC application will start in a few seconds.

To uninstall the aplication, use the next command:

sudo dpkg -r otgc

License

This library is released under Apache 2.0 license (http://www.apache.org/licenses/LICENSE-2.0.txt).

Please see the file 'LICENSE.md' in the root folder for further information.

otgc-linux's People

Contributors

javiguerra avatar

Watchers

 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.