Skip to content

a-kleinf/t2iapi

This branch is up to date with Draegerwerk/t2iapi:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fcc478b · Apr 9, 2025
Mar 18, 2025
Mar 18, 2025
May 28, 2024
Jul 10, 2024
Apr 9, 2025
May 28, 2024
Oct 14, 2022
Apr 9, 2025
Feb 22, 2024
Feb 23, 2023
Oct 14, 2022

Repository files navigation

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.

Loading
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

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 69.9%
  • Java 26.4%
  • Shell 3.7%