According to SOMEIP/SD Protocol Spec, Client should go to "Initial Wait Phase" when TTL expires and start to send "find service". See the following Client State Machine transitions:
FROM Service Ready
TO Searching for Service
WITH Timer expired (TTL)
FROM entry point Searching for Service
TO Initial Wait Phase
FROM entry point Initial Wait Phase
TO Timer Set
OF Initial Wait Phase
WITH /setTimerInRange(INITIAL_DELAY_MIN, INITIAL_DELAY_MAX)
FROM Timer Set
OF Initial Wait Phase
TO Repetition Phase
WITH TimerExpired /send(FindService)
However when I quit server, the client seems to go to "Stopped" state instead and no "find service" is sent out
Reproduction Steps
Both service app and client app have the following Service Discovery Config:
vSomeip Version
v3.4.10
Boost Version
1.74
Environment
Embedded Linux
Describe the bug
According to SOMEIP/SD Protocol Spec, Client should go to "Initial Wait Phase" when TTL expires and start to send "find service". See the following Client State Machine transitions:
FROM Service Ready TO Searching for Service WITH Timer expired (TTL)
FROM entry point Searching for Service TO Initial Wait Phase
FROM entry point Initial Wait Phase TO Timer Set OF Initial Wait Phase WITH /setTimerInRange(INITIAL_DELAY_MIN, INITIAL_DELAY_MAX)
FROM Timer Set OF Initial Wait Phase TO Repetition Phase WITH TimerExpired /send(FindService)
However when I quit server, the client seems to go to "Stopped" state instead and no "find service" is sent out
Reproduction Steps
Both service app and client app have the following Service Discovery Config:
Both service and client applications are running, and then kill service application
Expected behaviour
After service application stops and TTL expires, client should send "find service"
Logs and Screenshots