libdoip  0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
libdoip

CI/CD Pipeline Release [License](LICENSE) C++17 CMake doctest

C/C++ library for Diagnostics over IP (DoIP) (fork from https://github.com/AVL-DiTEST-DiagDev/libdoip)

CAUTION The current API is under construction any may change at any time.

Dependencies

libdoip uses spdlog. The lib is downloaded automatically. Or you may install it locally via

# Install Doxygen and Graphviz
sudo apt install libspdlog-dev

See Logging for details.

Getting started

Quick start — read the generated tutorial for the example server:

If you want to generate the docs locally, install Doxygen and Graphviz and run:

sudo apt install doxygen graphviz
doxygen Doxyfile
xdg-open docs/html/index.html

Installing library for Diagnostics over IP

  1. To install the library on the system, first get the source files with:
git clone https://github.com/Magolves/libdoip.git
  1. Enter the directory 'libdoip' and build the library with:
cmake . -Bbuild
cd build
make
  1. To install the library into /usr/lib/libdoip use:
sudo make install

Installing doctest

sudo apt install doctest

Debugging

Dump UDP

sudo tcpdump -i any udp port 13400 -X

Examples

The project includes a small example DoIP server demonstrating how to use the DoIPServer and DoIPServerModel APIs and how to register UDS handlers.

See the "Examples" section in the generated Doxygen main page for additional annotated links to these files.

References