Skip to main content

SomeIpSDSubscribeEventGroup

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

An Event Group that was unregistered at the node (consumer) using the SomeIpSDDesubscribeEventGroup function can be registered again with this function. The associated Service Discovery message (Subscribe Eventgroup) is then sent.

Parameters

  • cevgHandle: Handle of the Consumed Event Group (see SomeIpAddConsumedEventGroup).
  • tillReboot:
    • 1: The TTL is set to the value infinite when registered. The registration of the Eventgroup (Subscribe Eventgroup) is performed once and is retained until a communication partner (producer or consumer) is restarted.
    • 0: The TTL is set to the preset value (see SomeIpSetProperty). The registration of the Event Group is sent multiple times.

Return Values

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

Example

See Also
  • SomeIpSDDesubscribeEventGroup
  • SomeIpSDReleaseService
  • SomeIpSDRequireService
  • SomeIpSDSetServiceStatus
  • SomeIpSDSubscribeEventGroup