CAPL Script

SOMEIPUnsubscribeEventGroup

Syntax

long SOMEIP_UnsubscribeEventGroup(consumedEventGroupRef * eventGroup)

long SOMEIP_UnsubscribeEventGroup(consumedServiceRef * service, char[] eventGroupName)

Function

Unsubscribes for a service event group if SOME/IP binding is used. Note that this is morelow-level; usually its more convenient to callconsumedEventGroupRef::SOMEIPReleaseEventGroupon the event group.

Parameters

eventGroup Event group which shall be unsubscribed.

service

Service which contains the event group.

eventGroupName

Name of the event group.

Return Values

0: Success

1: Service object is not initialized

2: Communication object does not use SOME/IP binding

3: Event group not found

< 0: Other error, e.g. event variable is not initialized

SOMEIP_UnsubscribeEventGroup(MirrorAdjustment.consumerSide[0,0].AllEvents);

Abstract_UnsubscribeEvent | SOMEIP_SubscribeEventGroup