Skip to main content

AREthSDSetServiceStatus

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

The status of the Provided Service Instance is set at the node (producer).

Parameters

  • psiHandle: Handle of the required Consumed Service Instance (see AREthCreateProvidedServiceInstance).
  • up:
    • 1: The status is changed to up. The sending of OfferServices is started.
    • 0: The status is changed to down. A StopOfferService message is sent if the service was previously in up status.

Return Values

  • 0: The function was successfully executed
  • >0: Error code

Example

See Also