Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.05 KB

DoIP.md

File metadata and controls

45 lines (28 loc) · 1.05 KB
layout title category comments
post
AUTOSAR Diagnostic Over IP
AUTOSAR
true

Sockets for one DoIP server

1. UDP discovery socket

This socket is by default configured as broadcast for sending vehicle announcement message.

2. TCP DoIP server socket

This socket is created as serever for waiting client connections.

An example to play with

  • NetApp: An app with SOMEIP/SD, DoIP and CAN stack together
  • DoIPSend: An app that play as a DOIP tester

Build NetApp accoriding to SOMEIP/SD

But if want to test CAN related things, better to disable the vbox adapter and not using LWIP by using below command to rebuild the NetApp.

# below command that rebuild NetApp not using LWIP over vbox adapter
scons --app=NetApp --os=OSAL

# build the DoIP tester
scons --app=DoIPSend

# run NetApp
build\nt\GCC\NetApp\NetApp.exe

# run CanApp as edge node
build\nt\GCC\CanApp\CanApp.exe

build\nt\GCC\DoIPSend\DoIPSend.exe  -v1001

build\nt\GCC\DoIPSend\DoIPSend.exe  -v1001 -t caaa