Git Product home page Git Product logo

t2iapi's Introduction

t2iapi

t2iapi describes a product-independent interface to manipulate devices which utilize ISO/IEEE 11073 SDC during verification.

It is utilizing gRPC to allow for language-independent implementations of the manipulation interface at an appropriate location, be it in the device under test or within an already existing remote control application.

More information on SDC.

Installation

Building the package locally (Linux)

Python

t2iapi wheels can be built locally using the following steps using python version 3.8:

Note, this requires protoc and python to be in your PATH.

cd python
./build_protobuf.sh
python -m pip install wheel==0.37.0
python setup.py bdist_wheel

Wheels will be available in t2iapi/python/dist.

Java

t2iapi jars can be built locally using the following steps. Note that specifying versions for protoc, grpc and the jar itself is mandatory. Only use supported combinations of protoc and grpc, typically this can be determined from the protoc version used by the respective grpc-java release.

cd java
./gradlew build

Jars will be available in t2iapi/java/build/libs.

Note that this requires protoc to be in your PATH.

Usage

t2iapi usage always consists of two parties, the t2iapi server and the t2iapi client. When running tests for a provider, the test engineer provides an implementation of the t2iapi server, which, when requested, makes changes to the Device under Test to reach a specific device state.

graph LR
  subgraph dut["Test Engineer responsibility"]
    A["Device under test"]
    C(t2iapi server)
    C <--manipulation--> A 
  end
  subgraph testtool["Test tool"]
    B(Test case)
    D(t2iapi client)
    B --> D
  end
  D <--grpc manipulation call--> C
  B --SDC--> A
Loading

Workflow

Changes to t2iapi are guided by requirements of Dräger test tools, including SDCcc. As such, they are only done by Dräger employees.

Notices

The t2iapi library is not intended for use in medical products.

ISO 9001

t2iapi was not developed according to ISO 9001.

License

MIT

t2iapi's People

Contributors

jannast avatar antipovi avatar a-kleinf avatar maximilianpilz avatar pstaeck avatar ldeichmann avatar ben-draeger avatar yafbu avatar nerijuskondrotas avatar belagertem avatar leon1995 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.