Skip to main content

OnSomeIpSDClientServiceStatusChanged

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

This callback function can be implemented in the CAPL program, if the Client wants to be notified of status changes to the services. The function is called when the status of a service changes. The callback is called regardless of whether or not the service is consumed by SomeIpCreateConsumedServiceInstance.

Parameters

  • serviceId: ID of the service whose status has changed.
  • instanceId: Instance ID
  • status:
    • 0: down
    • 1: up
  • majorVersion: Service interface major version.

Return Values

Example

See Also