libdoip  0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
doip::times::server Namespace Reference

Server-specific times. More...

Functions

constexpr std::chrono::milliseconds VehicleAnnouncementDelay (500)
 Max. More...
 
constexpr std::chrono::milliseconds VehicleAnnouncementInterval (500)
 Interval between vehicle announcements in ms. More...
 
constexpr std::chrono::milliseconds InitialInactivityTimeout (200)
 Maximum inactivity time in ms after a TCP connection was accepted. More...
 
constexpr std::chrono::milliseconds GeneralInactivityTimeout (500)
 Maximum inactivity time in ms after a TCP message was sent or received. More...
 
constexpr std::chrono::milliseconds AliveCheckResponseTimeout (500)
 Time in ms to wait for a alive check response. More...
 
constexpr std::chrono::milliseconds VehicleDiscoveryTimer (500)
 Time in ms to wait for sync after server has sent a vehicle identification response with sync status 'incomplete' (0x10). More...
 

Variables

constexpr uint8_t VehicleAnnouncementNumber = 3
 Number of vehicle announcements to be send. More...
 

Detailed Description

Server-specific times.

Function Documentation

◆ AliveCheckResponseTimeout()

constexpr std::chrono::milliseconds doip::times::server::AliveCheckResponseTimeout ( 500  )
constexpr

Time in ms to wait for a alive check response.

Note
tT_TCP_Alive_Check

◆ GeneralInactivityTimeout()

constexpr std::chrono::milliseconds doip::times::server::GeneralInactivityTimeout ( 500  )
constexpr

Maximum inactivity time in ms after a TCP message was sent or received.

Note
tT_TCP_General_Inactivity

◆ InitialInactivityTimeout()

constexpr std::chrono::milliseconds doip::times::server::InitialInactivityTimeout ( 200  )
constexpr

Maximum inactivity time in ms after a TCP connection was accepted.

If no routing activation request is received within this period, the socket shall be closed

Note
tT_TCP_Initial_Inactivity

Referenced by doip::DoIPDefaultConnection::handleTimeout().

◆ VehicleAnnouncementDelay()

constexpr std::chrono::milliseconds doip::times::server::VehicleAnnouncementDelay ( 500  )
constexpr

Max.

time in ms to wait before a server responds to a vehicle announcement request. The server should use a random number between 0 and VehicleAnnouncementDelay.

Note
tA_DoIP_Announce_Wait

◆ VehicleAnnouncementInterval()

constexpr std::chrono::milliseconds doip::times::server::VehicleAnnouncementInterval ( 500  )
constexpr

Interval between vehicle announcements in ms.

Note
tA_DoIP_Announce_Interval

◆ VehicleDiscoveryTimer()

constexpr std::chrono::milliseconds doip::times::server::VehicleDiscoveryTimer ( 500  )
constexpr

Time in ms to wait for sync after server has sent a vehicle identification response with sync status 'incomplete' (0x10).

Note
tT_TCP_Alive_Check

Variable Documentation

◆ VehicleAnnouncementNumber

constexpr uint8_t doip::times::server::VehicleAnnouncementNumber = 3
constexpr

Number of vehicle announcements to be send.

Note
tA_DoIP_Announce_Num

Definition at line 55 of file DoIPTimes.h.