Skip to main content

OnAREthSDServerEventGroupStatusChangedIPv6

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void OnAREthSDServerEventGroupStatusChangedIPv6(dword serviceId, dword majorVersion, dword instanceId, dword eventGroupId, long status, byte newIpAddress[], dword newPort);

Description

This callback function can be implemented in the CAPL program if a Service Server wants to be notified whenever a Subscriber is added. This function is called when a Client executes a subscribe eventgroup command.

Parameters

  • serviceId: ID of the service whose status has changed.
  • instanceId: Instance ID
  • eventGroupId: ID of the Event Group.
  • status:
    • 0: not subscribed
    • 1: subscribed
  • newIpAddress: IPv6 address via which the subscription was received.
  • newPort: Source port via which the subscription was received.
  • majorVersion: Service interface major version.

Return Values

Example