Giter Site home page Giter Site logo

common-api-someip-test-app's Introduction

DEPRECATED

This repo is kept for reference only, there is no further development planned.

Introduction

This package contains 2 CommonAPI based test applications:

  • An application implementing a service
  • An client application using a proxy to access the service. That client application cyclically sends some requests to the service and listens to notifications from that service.

Thanks to the distributed nature of Some/IP, those 2 applications don't have to run on the same machine.

Build

After getting into the folder containing the clone of the repository, you can build the package by executing the following commands:

$ mkdir build $ cd build $ cmake .. $ make install

Starting the examples

You first need to start the SomeIP dispacher using the following command (the "-c" parameter ensures that our service is not going to be automatically activated by the dispatcher since we want to activate it manually) : $ someip_dispatcher -c /tmp &

Then you can start the service implementation with the following command: $ common-api-test-service &

The service should now be running, which means any local or remote application could access it.

There are now 2 ways to deploy the client application:

  • On the same machine as the service implementation. In that case, a pure Inter-Process-Communication (IPC) is used.
  • On another machine. In that case, the TCP/IP protocol is used.

To start the test client application the same machine, simply execute the following command: $ common-api-test-client &

If you want to start the client application on another machine, you need to have a SomeIP dispatcher running on that machine, before you can actually start the client application: $ someip_dispatcher -c /tmp & $ common-api-test-client &

common-api-someip-test-app's People

Contributors

jacky405 avatar breakreturn avatar

Watchers

James Cloos 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.